Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For the title page, insert the package version number before the date. | Fred Drake | 2000-12-14 | 1 | -3/+3 |
| | | | | | This makes the title area more like the title are of the top-level index, and puts the information more people are interested in first. | ||||
* | Update the test suite to cover more ground. | Fred Drake | 2000-12-14 | 2 | -0/+9 |
| | | | | This closes patch #102477. | ||||
* | Lots of small bug fixes and DOM API conformance improvements: | Fred Drake | 2000-12-14 | 1 | -49/+145 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make Node inherit from xml.dom.Node to pick up the NodeType values defined by the W3C recommendation. When raising AttributeError, be sure to provide the name of the attribute that does not exist. Node.normalize(): Make sure we do not allow an empty text node to survive as the first child; update the sibling links properly. _getElementsByTagNameNSHelper(): Make recursive calls using the right number of parameters. Attr.__setattr__(): Be sure to update name and nodeName at the same time since they are synonyms for this node type. AttributeList: Renamed to NamedNodeMap (AttributeList maintained as an alias). Compute the length attribute dynamically to allow the underlying structures to mutate. AttributeList.item(): Call .keys() on the dictionary rather than using self.keys() for performance. AttributeList.setNamedItem(), .setNamedItemNS(): Added methods. Text.splitText(): Added method. DocumentType: Added implementation class. DOMImplementation: Added implementation class. Document.appendChild(): Do not allow a second document element to be added. Document.documentElement: Find this dynamically, so that one can be removed and another added. Document.unlink(): Clear the doctype attribute. _get_StringIO(): Only use the StringIO module; cStringIO does not support Unicode. | ||||
* | Adjust PullDOM to use a DOMImplementation instance to create new Document | Fred Drake | 2000-12-14 | 1 | -26/+37 |
| | | | | | | | | | objects; uses minidom if one is not provided to the constructor. parse(): Pick up the default_bufsize default value dynamically so that the value in the module may be (meaningfully) changed at runtime. This (partially) closes patch #102477. | ||||
* | Test for NULL returned from PyObject_NEW(). | Guido van Rossum | 2000-12-14 | 1 | -0/+3 |
| | |||||
* | Test for NULL returned from PyObject_NEW(). | Guido van Rossum | 2000-12-14 | 1 | -0/+3 |
| | |||||
* | Update information on the locking() function, added the needed constants. | Fred Drake | 2000-12-14 | 1 | -2/+26 |
| | | | | (Thanks for the info, Tim!) | ||||
* | Add long-overdue docstrings to dict methods. | Tim Peters | 2000-12-13 | 1 | -11/+53 |
| | |||||
* | Finish a sentence that was left half-written! | Fred Drake | 2000-12-13 | 1 | -16/+20 |
| | |||||
* | Use METH_VARARGS instead of "1" in list method table. | Tim Peters | 2000-12-13 | 1 | -9/+9 |
| | |||||
* | When raising KeyError, provide the key value that failed. | Fred Drake | 2000-12-13 | 1 | -4/+4 |
| | |||||
* | Changing allow_reuse_address's default value, and documenting it. | Moshe Zadka | 2000-12-13 | 2 | -1/+6 |
| | |||||
* | Untabify! (Barry, this is gonna cost you a bottle of wine! ;) | Fred Drake | 2000-12-13 | 1 | -105/+105 |
| | |||||
* | Typo repair in comments. Fell for GregS's .popitem() poke. | Tim Peters | 2000-12-13 | 1 | -2/+6 |
| | |||||
* | Added "stub" documentation for xml.dom.pulldom for Paul to fill out with | Fred Drake | 2000-12-13 | 3 | -0/+63 |
| | | | | useful explanations. | ||||
* | Get rid of string module and string exceptions. | Guido van Rossum | 2000-12-13 | 1 | -7/+10 |
| | |||||
* | Added descriptions of the defined exceptions and their mapping to the | Fred Drake | 2000-12-13 | 1 | -0/+129 |
| | | | | DOM recommendation. | ||||
* | Set CXX even when --with-cxx is not specified. Closes bug 14782. | Martin v. Löwis | 2000-12-13 | 1 | -322/+419 |
| | |||||
* | Set CXX even when --with-cxx is not specified. Closes bug #124782 | Martin v. Löwis | 2000-12-13 | 1 | -0/+20 |
| | |||||
* | Add code to DOMException to ensure it cannot be instantiated directly, | Fred Drake | 2000-12-13 | 1 | -1/+8 |
| | | | | | since the API documentation will state specifically that the specializations must be used by the DOM implementations. | ||||
* | Add standard DOM exception hierarchy. | Martin v. Löwis | 2000-12-13 | 1 | -0/+68 |
| | |||||
* | Document --with-cxx. | Martin v. Löwis | 2000-12-13 | 1 | -0/+9 |
| | |||||
* | Check in README file and one demo program | Andrew M. Kuchling | 2000-12-13 | 2 | -0/+226 |
| | |||||
* | Bring comments up to date (e.g., they still said the table had to be | Tim Peters | 2000-12-13 | 1 | -23/+40 |
| | | | | a prime size, which is in fact never true anymore ...). | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 36 | -99/+101 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Change the file's indentation from tabs to 4 spaces per level. | Barry Warsaw | 2000-12-12 | 1 | -151/+163 |
| | |||||
* | Accept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno | Barry Warsaw | 2000-12-12 | 1 | -13/+16 |
| | | | | | | | | can't be imported. This makes StringIO.py work with Jython. Also, get rid of the string module by converting to string methods. Shorten some lines by using augmented assignment where appropriate. | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 55 | -519/+520 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | The Mac C library (MSL from CodeWarrior 6) and I/O library (GUSI | Jack Jansen | 2000-12-12 | 1 | -2/+2 |
| | | | | | 2.1.3) finally agree on when the epoch is, so the code to convert epochs has been disabled. | ||||
* | The ".pth" code knew about the layout of Python trees on unix and | Jack Jansen | 2000-12-12 | 1 | -0/+2 |
| | | | | windows, but not on the mac. Fixed. | ||||
* | Use c2pstr() in stead of Pstring() to convert C-strings to | Jack Jansen | 2000-12-12 | 1 | -3/+4 |
| | | | | | Pascal-strings. Safer, because Pstring converts in-place and the pathname may be reused later for error messages. | ||||
* | Optionally weed out duplicate prototypes for the same function (which | Jack Jansen | 2000-12-12 | 3 | -3/+11 |
| | | | | happens because the scanner ignores preprocessor #ifs). | ||||
* | Adapted to new standard for initmodule() routine: don't call | Jack Jansen | 2000-12-12 | 1 | -2/+1 |
| | | | | Py_FatalError on errors. | ||||
* | Various new standard types. | Jack Jansen | 2000-12-12 | 1 | -1/+16 |
| | |||||
* | Added support for generating a single module from multiple .h files. | Jack Jansen | 2000-12-12 | 1 | -3/+20 |
| | | | | Allow /* */ comments within function prototypes. | ||||
* | Refer to the sourceforge site for gusi downloads. | Jack Jansen | 2000-12-12 | 1 | -2/+2 |
| | |||||
* | Put all AE constants into AppleEvents.py | Jack Jansen | 2000-12-12 | 2 | -4/+0 |
| | |||||
* | Qdoffs now exports the GWorldObj_{New,Convert} functions. | Jack Jansen | 2000-12-12 | 1 | -0/+4 |
| | |||||
* | Added a c2pstrcpy() function. | Jack Jansen | 2000-12-12 | 1 | -0/+11 |
| | |||||
* | Describe {}.popitem(). | Guido van Rossum | 2000-12-12 | 1 | -0/+7 |
| | |||||
* | More toolbox modules adapted to Universal Headers 3.3.2. | Jack Jansen | 2000-12-12 | 20 | -491/+2240 |
| | |||||
* | Use new multi-input-file feature of bgen in stead of @-file hack to parse ↵ | Jack Jansen | 2000-12-12 | 3 | -247/+339 |
| | | | | multiple header files. A side effect is that the ObjectSupportLib routines are now also available in Python. | ||||
* | Regenerated from Universal Headers 3.3.2 | Jack Jansen | 2000-12-12 | 18 | -405/+847 |
| | |||||
* | Put all AE constants into AppleEvents.py | Jack Jansen | 2000-12-12 | 6 | -911/+905 |
| | |||||
* | Add popitem(). | Guido van Rossum | 2000-12-12 | 1 | -0/+2 |
| | |||||
* | "Documentation" for {}.popitem(). | Guido van Rossum | 2000-12-12 | 1 | -0/+6 |
| | |||||
* | Added test for {}.popitem(). | Guido van Rossum | 2000-12-12 | 1 | -0/+24 |
| | |||||
* | Add popitem() -- SF patch #102733. | Guido van Rossum | 2000-12-12 | 1 | -0/+53 |
| | |||||
* | Qdoffs now exports GWorld new/convert, and Qt uses them. | Jack Jansen | 2000-12-12 | 2 | -5/+3 |
| | | | | Drag moved to core toolbox modules (Win uses it). | ||||
* | Drag moved to core toolbox modules (Win uses it). | Jack Jansen | 2000-12-12 | 6 | -851/+11 |
| |