- 27 Nov, 2000 3 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
Fixes a typo that caused "".join(u"this is a test") to dump core.
-
Tim Peters authored
-
- 26 Nov, 2000 2 commits
-
-
Jack Jansen authored
Added support for project-relative and absolute path names in the search path entries.
-
Jack Jansen authored
three modules done (and one doesn't work:-), the rest TBD.
-
- 22 Nov, 2000 7 commits
-
-
Fred Drake authored
-
Fred Drake authored
Add support for some combining characters. Remove unnecessary imports and dependencies on PyXML and esistools.
-
Fred Drake authored
Remove the SGML aspects; there's too much XML momentum to worry about the SGML flavor at this point.
-
Fred Drake authored
entirely so that debugging can be performed independently.
-
Fred Drake authored
and one more standard LaTeX macro.
-
Fred Drake authored
-
Fred Drake authored
sources more difficult and other tools do not always work well with it. Since we have better markup for this case, just fix it.
-
- 21 Nov, 2000 3 commits
-
-
Fred Drake authored
-
Fred Drake authored
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().
-
Fred Drake authored
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.
-
- 19 Nov, 2000 2 commits
-
-
Jack Jansen authored
Added MathLib and InterfaceLib. Added Python:Include so #include "package/file.h" works. Moved bits around so now at least Numeric with Distutils builds and instals.
-
Jack Jansen authored
Close the project after building it, so that building umpteen projects doesn't keep all the projects open.
-
- 18 Nov, 2000 2 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
initialize the terminal without necessarily calling initscr()
-
- 17 Nov, 2000 5 commits
-
-
Fred Drake authored
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.
-
Fred Drake authored
breaks things.
-
Fred Drake authored
is encoded in u-LAW format. Based on suggestion from Anthony Baxter <anthony_baxter@users.sourceforge.net>. This closes bug #122273.
-
Fred Drake authored
<gcivario@users.sourceforge.net>. This closes bug #122562.
-
Fred Drake authored
<schram@users.sourceforge.net>. This closes bug #122236.
-
- 16 Nov, 2000 1 commit
-
-
Guido van Rossum authored
-
- 14 Nov, 2000 5 commits
-
-
Tim Peters authored
-
Jack Jansen authored
Started to rename projects to the de-facto standard .mcp extension.
-
Tim Peters authored
-
Tim Peters authored
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.
-
Jack Jansen authored
-
- 13 Nov, 2000 8 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
hack for TELL64()... Sounds like there's something else going on really. Does anybody have a clue I can buy?
-
Guido van Rossum authored
still in use, for Apple Mac OSX.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 11 Nov, 2000 1 commit
-
-
Greg Ward authored
use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
-
- 10 Nov, 2000 1 commit
-
-
Jack Jansen authored
-