summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF non-bug 123520: fleshed out the tutorial's lambda example a little more.Tim Peters2000-11-271-2/+9
|
* Added support for adding libraries.Jack Jansen2000-11-266-3/+35
| | | | Added support for project-relative and absolute path names in the search path entries.
* Generate plugin projects automatically using mkcwproject. There are as of ↵Jack Jansen2000-11-261-0/+43
| | | | | | yet only three modules done (and one doesn't work:-), the rest TBD.
* Conversion.write_ordinal(): Not used, remove it.Fred Drake2000-11-221-4/+0
|
* Convert the LaTeX "tie" (~) to a simple space.Fred Drake2000-11-221-4/+40
| | | | | | Add support for some combining characters. Remove unnecessary imports and dependencies on PyXML and esistools.
* Update to reflect the process changes.Fred Drake2000-11-221-21/+6
| | | | | Remove the SGML aspects; there's too much XML momentum to worry about the SGML flavor at this point.
* Update the rules to separate the two phases for the ESIS generation,Fred Drake2000-11-222-22/+27
| | | | entirely so that debugging can be performed independently.
* Add support for (relatively) recent additions and changes to python.sty,Fred Drake2000-11-221-2/+30
| | | | and one more standard LaTeX macro.
* Updates to reflect pending changes to the XML conversion process.Fred Drake2000-11-227-6/+9
|
* Do not use \verb in the Python documentation -- it makes parsing the LaTeXFred Drake2000-11-221-3/+3
| | | | | sources more difficult and other tools do not always work well with it. Since we have better markup for this case, just fix it.
* Update test output.Fred Drake2000-11-211-2/+18
|
* testInsertBefore(): Rewritten to actually test insertBefore() somewhat.Fred Drake2000-11-211-14/+103
| | | | | | | | | | | | | | | | | | | | testAAA(), testAAB(): Added checks that the results are right. testTooManyDocumentElements(): Added code to actually test this. testCloneElementDeep() testCloneElementShallow(): Filled these in with test code. _testCloneElementCopiesAttributes(), _setupCloneElement(): Helper functions used with the other testCloneElement*() functions. testCloneElementShallowCopiesAttributes(): No longer a separate test; _setupCloneElement() uses _testCloneElementCopiesAttributes() to test that this is always done. testNormalize(): Added to check Node.normalize().
* Reduce the visibility of imported modules for cleaner "from ... import *"Fred Drake2000-11-211-76/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behavior. Added support for the Attr.ownerElement attribute. Everywhere: Define constant object attributes in the classes rather than on the instances during object construction. This reduces the amount of work needed for object construction and destruction; these need to be lightweight operations on a DOM. Node._get_firstChild(), Node._get_lastChild(): Return None if there are no children (required for compliance with DOM level 1). Node.insertBefore(): If refChild is None, append the new node instead of failing (required for compliance). Also, update the sibling relationships. Return the inserted node (required for compliance). Node.appendChild(): Update the parent of the appended node. Node.replaceChild(): Actually replace the old child! Update the parent and sibling relationships of both the old and new children. Return the replaced child (required for compliance). Node.normalize(): Implemented the normalize() method. Required for compliance, but missing from the release. Useful for joining adjacent Text nodes into a single node for easier processing. Node.cloneNode(): Actually make this work. Don't let the new node share the instance __dict__ with the original. Do proper recursion if doing a "deep" clone. Move the attribute cloning out of the base class, since only Element is supposed to have attributes. Node.unlink(): Simplify handling of child nodes for efficiency, and remove the attribute handling since only Element nodes support attributes. Attr.cloneNode(): Extend this to clear the ownerElement attribute in the clone. AttributeList.items(), AttributeList.itemsNS(): Slight performance improvement (avoid lambda). Element.cloneNode(): Extend Node.cloneNode() with support for the attributes. Clone the Attr objects after creating the underlying clone. Element.unlink(): Clean out the attributes here instead of in the base class, since this is the only class that will have them. Element.toxml(): Adjust to create only one AttributeList instance; minor efficiency improvement. _nssplit(): No need to re-import string. Document.__init__(): No longer needed once constant attributes are initialized in the class itself. Document.createElementNS(), Document.createAttributeNS(): Use the defined constructors rather than directly access the classes. _get_StringIO(): New function. Create an output StringIO using the most efficient available flavor. parse(), parseString(): Import pulldom here instead of in the public namespace of the module.
* Added MathLib and InterfaceLib. Added Python:Include so #include ↵Jack Jansen2000-11-191-4/+49
| | | | "package/file.h" works. Moved bits around so now at least Numeric with Distutils builds and instals.
* Close the project after building it, so that building umpteen projects ↵Jack Jansen2000-11-191-0/+1
| | | | doesn't keep all the projects open.
* Document the new setupterm() functionAndrew M. Kuchling2000-11-181-0/+7
|
* Patch #102412 from mwh: Add support for the setupterm() function, toAndrew M. Kuchling2000-11-181-15/+76
| | | | initialize the terminal without necessarily calling initscr()
* Added information about the %r string formatting conversion. Added noteFred Drake2000-11-172-8/+14
| | | | | | | | about the interpretation of radix 0 for int(), and added description of the optional radix argument for long(). Based on comments from Reuben Sumner <rasumner@users.sourceforge.net>. This closes bug #121672.
* Oops, back out change committed by accident! This is not ready, andFred Drake2000-11-171-34/+0
| | | | breaks things.
* Note that readframes() returns data in linear format, even if the originalFred Drake2000-11-178-10/+101
| | | | | | | is encoded in u-LAW format. Based on suggestion from Anthony Baxter <anthony_baxter@users.sourceforge.net>. This closes bug #122273.
* Corrected a number of typos reported by Gilles CivarioFred Drake2000-11-171-12/+3
| | | | | | <gcivario@users.sourceforge.net>. This closes bug #122562.
* Fixed typos and bug in the second example, reported by Scott SchramFred Drake2000-11-171-2/+3
| | | | | | <schram@users.sourceforge.net>. This closes bug #122236.
* A solution to the classic N queens problem.Guido van Rossum2000-11-161-0/+85
|
* Fix for SF bug 122176: Error in rotor module documentation.Tim Peters2000-11-141-2/+2
|
* Getting rid of 68K targets.Jack Jansen2000-11-1411-2150/+99
| | | | Started to rename projects to the de-facto standard .mcp extension.
* Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).Tim Peters2000-11-141-0/+5
|
* SF bug 119622: compile errors due to redundant atof decls. I don't understandTim Peters2000-11-142-3/+0
| | | | | | the bug report (for details, look at it), but agree there's no need for Python to declare atof itself: we #include stdlib.h, and ANSI C sez atof is declared there already.
* Added a note about removing preferences and .pyc files when you move the ↵Jack Jansen2000-11-141-9/+13
| | | | Python installation.
* Typo for Mac code, fixing SF bug 12195.Guido van Rossum2000-11-131-1/+1
|
* Allow new.function() called with explicit 3rd arg of None, asGuido van Rossum2000-11-131-1/+6
| | | | | | documented, and as is reasonable (since it is optional, but there's another argument following it that may require you to specify a value). This solves SF bug 121887.
* Added _HAVE_BSDI and __APPLE__ to the list of platforms that require aGuido van Rossum2000-11-131-1/+1
| | | | | hack for TELL64()... Sounds like there's something else going on really. Does anybody have a clue I can buy?
* Fix syntax error. Submitted by Bill Bumgarner. Apparently this isGuido van Rossum2000-11-131-1/+1
| | | | still in use, for Apple Mac OSX.
* Rip out DOS and Win16 support.Guido van Rossum2000-11-131-103/+1
|
* Rip out DOS-8x3 support.Guido van Rossum2000-11-131-17/+2
|
* Rip out Win3.1 and DOS supportGuido van Rossum2000-11-1327-8352/+10
|
* Removing DOS 8x3 supportGuido van Rossum2000-11-13113-18934/+0
|
* Jack Jansen: added 'get_command_list()' method, and Mac-specific code toGreg Ward2000-11-111-0/+38
| | | | | use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
* No reason to keep "Run as Python" in binhex form anymore, just put the ↵Jack Jansen2000-11-101-0/+1
| | | | binary in the repository.
* Fix for SF bug 117402, crashes on str(array) and repr(array). This was anTim Peters2000-11-101-3/+5
| | | | | unfortunate consequence of somebody switching from PyArg_Parse to PyArg_ParseTuple but without changing the argument from a NULL to a tuple.
* Committing autoconf output forGuido van Rossum2000-11-091-111/+71
| | | | Fred.
* Implement the suggestion of bug_id=122070: surround tell() call withGuido van Rossum2000-11-091-1/+5
| | | | try/except.
* SMTP.connect(): If the socket.connect() raises a socket.error, be sureBarry Warsaw2000-11-081-1/+5
| | | | | to call self.close() to reclaim some file descriptors, the reraise the exception. Closes SF patch #102185 and SF bug #119833.
* Remove AC_C_INLINE test from configure.in, since the only place the symbolFred Drake2000-11-082-4/+0
| | | | | | | occurs in the Python sources appears to be as text in comments. We do not want to interfere with C++ keywords! This closes bug #119851.
* Added test cases to detect regression on SourceForge bug #121965.Fred Drake2000-11-081-0/+14
|
* Fixed support for containment test when a negative step is used; thisFred Drake2000-11-081-8/+34
| | | | | | | *really* closes bug #121965. Added three attributes to the xrange object: start, stop, and step. These are the same as for the slice objects.
* In the containment test, get the boundary condition right. ">" was usedFred Drake2000-11-081-2/+2
| | | | | | where ">=" should have been. This closes bug #121965.
* Add 1994 Coroutine module by Tim PetersGuido van Rossum2000-11-084-0/+332
|
* Last CW Pro 5.3 projects.Jack Jansen2000-11-071-0/+0
|
* More names...Fred Drake2000-11-071-0/+2
|
* Fix for SF bug #117606:Greg Ward2000-11-072-9/+9
| | | | | | | - when compiling with GCC on Solaris, use "$(CC) -shared" instead of "$(CC) -G" to generate .so files - when compiling with GCC on any platform, add "-fPIC" to OPT (without this, "$(CC) -shared" dies horribly)