summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added name.Fred Drake2000-11-301-0/+1
|
* Fox for SF bug #123859: %[duxXo] long formats inconsistent.Tim Peters2000-11-304-24/+50
|
* Clarify two commentsAndrew M. Kuchling2000-11-301-2/+2
|
* In the first discussion showing how to handle exceptions from C, make theFred Drake2000-11-291-7/+11
| | | | | | | | 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.
* Slight improvement to Unicode test suite, inspired by patch #102563:Guido van Rossum2000-11-291-9/+11
| | | | | | | | 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.
* Contributed code that converts Python source files to any combination of ↵Jack Jansen2000-11-292-0/+201
| | | | tabs/spaces for indenting.
* Added entries reflecting the separation of the abstract DOM documentationFred Drake2000-11-292-0/+2
| | | | and the implementation docs for xml.dom.minidom.
* Substantial re-organization of the DOM documentation. The abstract APIFred Drake2000-11-292-364/+523
| | | | | | | | | 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.
* Fix broken backslashes in Unicode strings section.Fred Drake2000-11-291-2/+2
| | | | This closes bug #123730.
* Partial fix for SF bug 123730: extra backslash in tutorial.Tim Peters2000-11-291-1/+1
|
* Patch #102469: Use glibc's getline() extension when reading unbounded linesAndrew M. Kuchling2000-11-291-3/+30
|
* Patch #102469: Check for glibc's getline() extensionAndrew M. Kuchling2000-11-293-2/+5
|
* Added documentation for the Py_InitModule*() family of functions.Fred Drake2000-11-282-1/+47
|
* Added information on the use of Unicode with the StringIO and cStringIOFred Drake2000-11-281-2/+14
| | | | modules, otherwise the behavior is just plain confusing.
* Use a subclass of buildindex.Node to clean up the HTML and get theFred Drake2000-11-281-4/+18
| | | | | | 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).
* Update dependencies per /F.Guido van Rossum2000-11-282-2/+2
|
* Added brief explanation of the \versionchanged for 1.5.2 (fixes formattingFred Drake2000-11-281-1/+1
| | | | for the HTML version).
* Two minor nits.Fred Drake2000-11-281-3/+3
|
* Plug a memory leak in com_import_stmt(): the tuple created to hold theGuido van Rossum2000-11-271-1/+2
| | | | | | "..." 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.
* Patch by Finn Bock to support PyStringMap in Jython.Guido van Rossum2000-11-271-0/+9
|
* Minor typo: \subsubsections --> \subsubsectionFred Drake2000-11-271-1/+1
|
* SF patch #102548, fix for bug #121013, by mwh@users.sourceforge.net.Guido van Rossum2000-11-271-1/+1
| | | | Fixes a typo that caused "".join(u"this is a test") to dump core.
* 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.