Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.5] bpo-34623: Use XML_SetHashSalt in _elementtree (#9933) | stratakis | 2019-02-25 | 1 | -0/+5 |
| | | | | | | | | | | | | | * bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623 (cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b) Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | bpo-31095: fix potential crash during GC (GH-2974) (#3196) | INADA Naoki | 2017-09-26 | 1 | -2/+4 |
| | | | (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c) | ||||
* | bpo-30892: Fix _elementtree module initialization (#2647) (#2650) | Victor Stinner | 2017-07-10 | 1 | -0/+5 |
| | | | | | Handle getattr(copy, 'deepcopy') error in _elementtree module initialization. (cherry picked from commit b136f11f3a51f9282ae992bac68f170ca5563b55) | ||||
* | Expand the PySlice_GetIndicesEx macro. (#1023) (#1045) | Serhiy Storchaka | 2017-04-08 | 1 | -6/+6 |
| | | | (cherry picked from commit b879fe82e7e5c3f7673c9a7fa4aad42bd05445d8) | ||||
* | bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#904) | Serhiy Storchaka | 2017-03-30 | 1 | -48/+52 |
| | | | (cherry picked from commit 576def096ec7b64814e038f03290031f172886c3) | ||||
* | Issue #28871: Fixed a crash when deallocate deep ElementTree. | Serhiy Storchaka | 2016-12-21 | 1 | -0/+2 |
| | |||||
* | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -3/+3 |
| | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag. | Serhiy Storchaka | 2016-06-12 | 1 | -3/+16 |
| | |||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -4/+4 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -11/+11 |
| | |||||
* | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -24/+14 |
| | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | Issue #24103: Fixed possible use after free in ElementTree.XMLPullParser. | Serhiy Storchaka | 2015-12-24 | 1 | -19/+13 |
| | |||||
* | Issue #25902: Fixed various refcount issues in ElementTree iteration. | Serhiy Storchaka | 2015-12-21 | 1 | -32/+58 |
| | |||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | Fixed possible leaks in ElementTree parser. | Serhiy Storchaka | 2015-12-09 | 1 | -2/+8 |
| | |||||
* | Fixed possible leak in ElementTree.Element.iter(). | Serhiy Storchaka | 2015-12-09 | 1 | -11/+11 |
| | |||||
* | Issue25814: Propagate all errors from custom XML parser handlers | Serhiy Storchaka | 2015-12-06 | 1 | -88/+39 |
|\ | | | | | | | in ElementTree.iterparse(). | ||||
| * | Issue25814: Propagate all errors from custom XML parser handlers | Serhiy Storchaka | 2015-12-06 | 1 | -88/+39 |
| | | | | | | | | in ElementTree.iterparse(). | ||||
| * | Issue #19687: Fixed possible integer overflows in ElementTree. | Serhiy Storchaka | 2015-11-25 | 1 | -10/+34 |
| | | | | | | | | Based on patch by Christian Heimes. | ||||
* | | Issue #25691: Fixed crash on deleting ElementTree.Element attributes. | Serhiy Storchaka | 2015-11-23 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | Issue #25691: Fixed crash on deleting ElementTree.Element attributes. | Serhiy Storchaka | 2015-11-23 | 1 | -0/+6 |
| | | |||||
* | | Issue #19687: Fixed memory leak on failed Element slice assignment. | Serhiy Storchaka | 2015-11-22 | 1 | -21/+15 |
|\ \ | |/ | | | | | Added new tests for Element slice assignments. | ||||
| * | Issue #19687: Fixed memory leak on failed Element slice assignment. | Serhiy Storchaka | 2015-11-22 | 1 | -21/+15 |
| | | | | | | | | Added new tests for Element slice assignments. | ||||
* | | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -17/+35 |
|\ \ | |/ | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter. | ||||
| * | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -14/+21 |
| | | | | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter. | ||||
* | | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -46/+96 |
|\ \ | |/ | | | | | ElementTree. | ||||
| * | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -47/+97 |
| | | | | | | | | ElementTree. | ||||
* | | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -2/+2 |
| | | | | | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | | Issue #20159. Converted the _elementtree module to Argument Clinic. | Serhiy Storchaka | 2015-05-04 | 1 | -400/+556 |
| | | |||||
* | | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | 2015-02-16 | 1 | -24/+33 |
| | | |||||
* | | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-16 | 1 | -1/+1 |
|/ | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | 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 |