76 Commits (0e1af282b8e747c8dc032ea0dbda53f3f4ef17d4)

Author SHA1 Message Date
Antoine Pitrou ca8aa4acf6 Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t. 13 years ago
Eli Bendersky ef391ac982 Raise ImportError if pyexpat's version is incompatible 14 years ago
Eli Bendersky 66099b0cdc ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError 14 years ago
Martin v. Löwis bce166681c Issue #14055: Add __sizeof__ support to _elementtree. 14 years ago
Eli Bendersky 113da64259 Fix windows compilation problems caused by previous commit. 14 years ago
Eli Bendersky 64d11e60f2 Replace the iter/itertext methods of Element in _elementtree with true C implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents. 14 years ago
Eli Bendersky c68e1368b5 Fix unterminated keyword array passed to PyArg_ParseTupleAndKeywords 14 years ago
Eli Bendersky 2b6b73e7e1 Issue #14007: implement doctype() method calling in XMLParser of _elementtree. 14 years ago
Eli Bendersky 20d4174b3d We're always building _elementtree with USE_PYEXPAT_CAPI, so the #ifdefs in 14 years ago
Eli Bendersky 52467b167e Issue #14007: make XMLParser a real subclassable type exported from _elementtree. +cleanups 14 years ago
Eli Bendersky 48d358ba86 Issue #14007: implemented the 'element_factory' feature of TreeBuilder in 14 years ago
Eli Bendersky 58d548dff1 Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and subclassable. 14 years ago
Eli Bendersky 737b173355 Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree. 14 years ago
Eli Bendersky b20df95827 Issue #14849: setup Element data members to be assignable in subclasses 14 years ago
Eli Bendersky 828efdea56 Replace bootstrap imports with real C API calls. 14 years ago
Eli Bendersky 08b852970e Fix Windows compilation errors 14 years ago
Eli Bendersky ebf37a2ffb Fixes and enhancements to _elementtree: 14 years ago
Eli Bendersky 0192ba33b4 Issue #14065: Added cyclic GC support to ET.Element 14 years ago
Eli Bendersky 396e8fcf36 Issue #13782: streamline argument type-checking in ET.Element 14 years ago
Eli Bendersky 5b77d81314 Issue #14207: the ParseError exception raised by _elementtree was made 14 years ago
Eli Bendersky f996e775ea Closes Issue #14246: _elementtree parser will now handle io.StringIO 14 years ago
Eli Bendersky 865756a94c Issue #14178: Problem deleting slices with steps != +1 in the _elementtree module. 14 years ago
Florent Xicluna 50eee834fd Issue #14007: drop unused TreeBuilder().xml. 14 years ago
Eli Bendersky 092af1fc5c Issue #14128: Exposing Element as an actual type from _elementtree, rather than a factory function. 14 years ago
Florent Xicluna a72a98f24a Issue #13988: cElementTree is deprecated and the _elementtree accelerator is automatically used whenever available. 14 years ago
Florent Xicluna f4bdf4e478 Issue #13988: move the python bootstrap code to cElementTree.py, and remove obsolete code for Python 2.4 and 2.5. 14 years ago
Florent Xicluna 91d5193b3a Closes #2892: preserve iterparse events in case of SyntaxError. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Victor Stinner 499dfcf29d Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of 15 years ago
Victor Stinner bfc7bf06a6 _elementtree.c: remove trailing spaces 15 years ago
Alexander Belopolsky e239d23e8c Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Antoine Pitrou e033e06db0 Issue #10093: ResourceWarnings are now issued when files and sockets are 15 years ago
Alexander Belopolsky f0f45142d5 Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 16 years ago
Victor Stinner 0477bf3a93 Fix a crash in _elementtree related to lone unicode surrogates. 16 years ago
Florent Xicluna f15351d938 Merged revisions 78838-78839,78917,78919,78934,78937 via svnmerge from 16 years ago
Benjamin Peterson b173f7853e add a replacement API for PyCObject, PyCapsule #5630 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Mark Dickinson 211c625829 Issue #1717, stage 2: remove uses of tp_compare in Modules and most 17 years ago
Marc-André Lemburg 4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and 18 years ago
Amaury Forgeot d'Arc ba4105c133 #3247: Get rid of Py_FindMethod: 18 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Christian Heimes 679db4aa99 Merged revisions 59985-60000,60002,60005-60007,60009-60042 via svnmerge from 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Neal Norwitz 0269b91030 SF patch # 1769767, get test_xml_etree_c working. More conversions are probably needed. 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago