| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
I suggested to Guido that %u be deprecated (it seems useless in Python to me).
|
|
|
|
| |
Improved version coming soon to a Source Forge near you!
|
| |
|
|
|
|
|
| |
Complete with docos and tests.
OKed by Guido.
|
|
|
|
| |
notification message.
|
| |
|
|
|
|
|
| |
this is slightly easier to read than the list environment that had been
used.
|
|
|
|
|
|
|
| |
of return tuples. The bare \item took advantage of an implementation
detail when formatting in LaTeX, and was just wrong when generating HTML.
It also broke the XML conversion scripts, since there was no enclosing
list-like environment to contain them.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Python equivalent actually equivalent to the C code. Also, in the C code,
place the "goto" statements on a line by themselves for better visibility
of statements that affect control flow.
This closes bug #123398.
|
|
|
|
|
|
|
|
| |
also test join method of 8-bit strings.
Also changed the test() function to (1) compare the types of the
expected and actual result, and (2) in verbose mode, print the repr()
of the output.
|
|
|
|
| |
tabs/spaces for indenting.
|
|
|
|
| |
and the implementation docs for xml.dom.minidom.
|
|
|
|
|
|
|
|
|
| |
is now separated from the supplied standard implementation. Not all
interfaces are documented yet, but the structure is better set up to do
so.
There is still a lot to do here, but the shape of the documentation is
coming into line.
|
|
|
|
| |
This closes bug #123730.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
modules, otherwise the behavior is just plain confusing.
|
|
|
|
|
|
| |
ordering fixed up (this makes sure that "xml.dom" comes before
"xml.dom.minidom" in the Module Index, which was not true before because
some HTML cruft crept into the data structures).
|
| |
|
|
|
|
| |
for the HTML version).
|
| |
|
|
|
|
|
|
| |
"..." in "from M import ..." was never DECREFed. Leak reported by
James Slaughter and nailed by Barry, who also provided an earlier
version of this patch.
|
| |
|
| |
|
|
|
|
| |
Fixes a typo that caused "".join(u"this is a test") to dump core.
|
| |
|
|
|
|
| |
Added support for project-relative and absolute path names in the search path entries.
|
|
|
|
|
|
| |
yet only
three modules done (and one doesn't work:-), the rest TBD.
|
| |
|
|
|
|
|
|
| |
Add support for some combining characters.
Remove unnecessary imports and dependencies on PyXML and esistools.
|
|
|
|
|
| |
Remove the SGML aspects; there's too much XML momentum to worry about
the SGML flavor at this point.
|
|
|
|
| |
entirely so that debugging can be performed independently.
|
|
|
|
| |
and one more standard LaTeX macro.
|
| |
|
|
|
|
|
| |
sources more difficult and other tools do not always work well with it.
Since we have better markup for this case, just fix it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
"package/file.h" works. Moved bits around so now at least Numeric with Distutils builds and instals.
|
|
|
|
| |
doesn't keep all the projects open.
|
| |
|
|
|
|
| |
initialize the terminal without necessarily calling initscr()
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
breaks things.
|
|
|
|
|
|
|
| |
is encoded in u-LAW format. Based on suggestion from Anthony Baxter
<anthony_baxter@users.sourceforge.net>.
This closes bug #122273.
|