Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -1/+4 |
|\ | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
| * | Fix indentation from previous commit | Eli Bendersky | 2013-11-28 | 1 | -2/+2 |
| | | |||||
| * | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -1/+4 |
| | | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
* | | Cosmetic fixes | Eli Bendersky | 2013-11-24 | 1 | -13/+8 |
| | | |||||
* | | Don't use deprecated function PyUnicode_GET_SIZE() | Victor Stinner | 2013-11-13 | 1 | -1/+1 |
| | | | | | | | | Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize() | ||||
* | | Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵ | Antoine Pitrou | 2013-10-23 | 1 | -2/+2 |
|\ \ | |/ | | | | | in some C compilers. | ||||
| * | Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵ | Antoine Pitrou | 2013-10-23 | 1 | -2/+2 |
| | | | | | | | | in some C compilers. | ||||
* | | - followup for issue #18997, make _clear_joined_ptr static. | doko@ubuntu.com | 2013-09-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | - followup for issue #18997, make _clear_joined_ptr static. | doko@ubuntu.com | 2013-09-18 | 1 | -1/+1 |
| | | |||||
* | | Merge for Issue #18997: Issue #18997: fix ElementTree crash with using ↵ | Eli Bendersky | 2013-09-13 | 1 | -26/+24 |
|\ \ | |/ | | | | | pickle and __getstate__. | ||||
| * | Issue #18997: fix ElementTree crash with using pickle and __getstate__. | Eli Bendersky | 2013-09-13 | 1 | -26/+24 |
| | | | | | | | | Based on report and initial patch from Germán M. Bravo | ||||
* | | Use consistent style for else if / else | Eli Bendersky | 2013-08-24 | 1 | -2/+5 |
| | | |||||
* | | Issue #15651: PEP 3121 refactoring for _elementtree | Eli Bendersky | 2013-08-10 | 1 | -30/+89 |
| | | | | | | | | Patch by Antoine Pitrou (based on Robin Schreiber's original patch) | ||||
* | | Add missing check of PyDict_Update()'s return value in _elementtree.c | Christian Heimes | 2013-07-20 | 1 | -1/+2 |
|\ \ | |/ | | | | | CID 719637 | ||||
| * | Add missing check of PyDict_Update()'s return value in _elementtree.c | Christian Heimes | 2013-07-20 | 1 | -1/+2 |
| | | | | | | | | CID 719637 | ||||
* | | (3.3->default): #18480: Add missing PyType_Ready call to _elementtree extension | Ronald Oussoren | 2013-07-19 | 1 | -5/+9 |
|\ \ | |/ | |||||
| * | #18480: Add missing PyType_Ready call to _elementtree extension | Ronald Oussoren | 2013-07-19 | 1 | -5/+9 |
| | | |||||
* | | Issue #18408: Fix _elementtree.c, don't call Python function from an expat | Victor Stinner | 2013-07-18 | 1 | -0/+28 |
| | | | | | | | | handler if a Python exception is set | ||||
* | | Issue #18408: Fix constructors of _elementtree.c | Victor Stinner | 2013-07-12 | 1 | -12/+15 |
| | | | | | | | | | | | | * Use Py_DECREF() instead of PyObject_GC_Del() to release correctly all resources * Raise MemoryError on memory allocation failure | ||||
* | | Issue #18408: Fix create_extra() of _elementtree.c, raise MemoryError on memory | Victor Stinner | 2013-07-12 | 1 | -1/+3 |
| | | | | | | | | allocation failure | ||||
* | | Issue #18408: Different fixes in _elementtree.c to handle correctly MemoryError | Victor Stinner | 2013-07-11 | 1 | -8/+14 |
| | | | | | | | | | | | | | | | | | | | | * create_new_element() initializes all attributes before handling errors, to fix a crash in the destructor * create_new_element() calls PyObject_GC_Del() on error, instead of PyObject_Del(), because the object was created by PyObject_GC_New() * subelement() now handles create_new_element() failure * element_getattro() now handles element_get_text() failure * makeuniversal() now handles PyBytes_FromStringAndSize() failure | ||||
* | | Cleanup _elementtree.c | Victor Stinner | 2013-07-11 | 1 | -7/+6 |
| | | |||||
* | | Issue #18408: _elementtree.c now handles create_extra() failure | Victor Stinner | 2013-07-11 | 1 | -12/+24 |
| | | |||||
* | | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 1 | -42/+1 |
|\ \ | |/ | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | ||||
| * | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 1 | -42/+1 |
| | | | | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | ||||
* | | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 1 | -9/+30 |
|\ \ | |/ | | | | | an internal XML encoding is UTF-8 or US-ASCII. | ||||
| * | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 1 | -9/+30 |
| | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. | ||||
* | | Get rid of ugly code duplication for ElementTree.parse when the accelerator | Eli Bendersky | 2013-05-20 | 1 | -4/+3 |
| | | | | | | | | | | is imported. Instead, ElementTree.parse can look for a special internal method defined by the accelerator. | ||||
* | | Issue #17989: fix typo in error message | Eli Bendersky | 2013-05-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #17989: fix typo in error message | Eli Bendersky | 2013-05-19 | 1 | -1/+1 |
| | | |||||
* | | _elementtree.XMLParser._setevents should support any sequence, not just tuples | Eli Bendersky | 2013-05-19 | 1 | -46/+42 |
| | | | | | | | | Also clean up some code around this | ||||
* | | Issue #17901: fix TreeBuilder construction for an explicit element_factory=None | Eli Bendersky | 2013-05-18 | 1 | -1/+1 |
|\ \ | |/ | | | | | Based on report and patch by Aaron Oakley. | ||||
| * | Issue #17901: fix TreeBuilder construction for an explicit element_factory=None | Eli Bendersky | 2013-05-18 | 1 | -1/+1 |
| | | | | | | | | Based on report and patch by Aaron Oakley. | ||||
* | | Issue #17989: element_setattro returned incorrect error value. | Eli Bendersky | 2013-05-18 | 1 | -8/+8 |
|\ \ | |/ | | | | | This caused an exception to be raised later than expected. | ||||
| * | Issue #17989: element_setattro returned incorrect error value. | Eli Bendersky | 2013-05-18 | 1 | -8/+8 |
| | | | | | | | | This caused an exception to be raised later than expected. | ||||
* | | Revert c9674421d78e, leaving an additional comment | Eli Bendersky | 2013-04-24 | 1 | -5/+10 |
| | | |||||
* | | Simplify the code of get_attrib_from_keywords somewhat. | Eli Bendersky | 2013-04-22 | 1 | -9/+5 |
| | | |||||
* | | Issue #17736: fix misleading comment in _elementtree.c | Eli Bendersky | 2013-04-22 | 1 | -1/+3 |
|\ \ | |/ | | | | | Patch by Jonas Wagner | ||||
| * | Issue #17736: fix misleading comment in _elementtree.c | Eli Bendersky | 2013-04-22 | 1 | -1/+3 |
| | | | | | | | | Patch by Jonas Wagner | ||||
* | | Remove useless #define and #ifdefs | Eli Bendersky | 2013-04-20 | 1 | -11/+0 |
| | | |||||
* | | Make license notices more consistent and remove old changelog. | Eli Bendersky | 2013-04-20 | 1 | -43/+5 |
|/ | | | | Also remove unused macro. | ||||
* | Issue #16922: fixed findtext() to return empty Unicode string instead of ↵ | Eli Bendersky | 2013-01-13 | 1 | -1/+1 |
| | | | | | | empty bytes object when there's no text. Patch by Serhiy Storchaka. | ||||
* | Clean trailing whitespace in _elementtree.c | Eli Bendersky | 2013-01-13 | 1 | -4/+4 |
| | |||||
* | Issue #16076: check for return value of PyTuple_New for args (following | Eli Bendersky | 2013-01-12 | 1 | -8/+11 |
| | | | | Coverity report) and cleanup code. | ||||
* | Issue #16076: fix refleak in pickling of Element. | Eli Bendersky | 2013-01-12 | 1 | -11/+5 |
| | | | | Thanks to Ezio Melotti and Daniel Shahaf for the patch. | ||||
* | Issue #16913: Fix Element.itertext()'s handling of text with XML entities. | Eli Bendersky | 2013-01-10 | 1 | -3/+14 |
| | | | | Patch by Serhiy Storchaka | ||||
* | Issue #16076: make _elementtree.Element pickle-able in a way that is compatible | Eli Bendersky | 2013-01-10 | 1 | -3/+177 |
| | | | | | | with the Python version of the class. Patch by Daniel Shahaf. | ||||
* | The get() and iter() are now able to accept keyword arguments. | Eli Bendersky | 2013-01-05 | 1 | -8/+13 |
| | | | | | In conformance with the documentation and the Python version. Patch by Franck Michea. | ||||
* | Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element ↵ | Antoine Pitrou | 2012-10-04 | 1 | -28/+79 |
| | | | | element_factory (fixes a regression in SimpleTAL). | ||||
* | Sanitize and modernize some of the _elementtree code (see issue #16089). | Antoine Pitrou | 2012-10-01 | 1 | -107/+59 |
| |