Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) (#3746) | Victor Stinner | 2017-09-25 | 1 | -0/+32 |
| | | | | | Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug. (cherry picked from commit e6d9fcbb8d0c325e57df08ae8781aafedb71eca2) | ||||
* | [3.6] bpo-31455: Fix an assertion failure in ElementTree.XMLParser(). ↵ | Miss Islington (bot) | 2017-09-14 | 1 | -0/+25 |
| | | | | | | | | (GH-3545) (#3585) * Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. * Ignore only AttributeError on attribute lookups in ElementTree.XMLParser() and propagate all other exceptions. (cherry picked from commit c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf) | ||||
* | bpo-30442: Skips refcount test in test_xml_etree under coverage (#1767) (#3363) | Victor Stinner | 2017-09-06 | 1 | -0/+1 |
| | | | (cherry picked from commit 1de4705d00168afa8c5b6741af02e21fc609af58) | ||||
* | bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903) | Serhiy Storchaka | 2017-03-30 | 1 | -0/+112 |
| | | | | (cherry picked from commit 576def096ec7b64814e038f03290031f172886c3) | ||||
* | Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator(). | Serhiy Storchaka | 2016-10-25 | 1 | -0/+32 |
|\ | |||||
| * | Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator(). | Serhiy Storchaka | 2016-10-25 | 1 | -0/+32 |
| | | |||||
* | | merge | Raymond Hettinger | 2016-09-12 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes | Raymond Hettinger | 2016-09-12 | 1 | -0/+8 |
| | | | | | | | | (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.) | ||||
* | | Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag. | Serhiy Storchaka | 2016-06-12 | 1 | -1/+7 |
|\ \ | |/ | |||||
| * | Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag. | Serhiy Storchaka | 2016-06-12 | 1 | -1/+7 |
| | | |||||
* | | Issue #26676: Add missing XMLPullParser to ElementTree.__all__ | Martin Panter | 2016-04-01 | 1 | -2/+4 |
| | | |||||
* | | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 1 | -8/+2 |
|\ \ | |/ | | | | | no ResourceWarning is emitted. | ||||
| * | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 1 | -8/+2 |
| | | | | | | | | no ResourceWarning is emitted. | ||||
* | | Issue #25902: Fixed various refcount issues in ElementTree iteration. | Serhiy Storchaka | 2015-12-21 | 1 | -0/+51 |
|\ \ | |/ | |||||
| * | Issue #25902: Fixed various refcount issues in ElementTree iteration. | Serhiy Storchaka | 2015-12-21 | 1 | -0/+51 |
| | | |||||
* | | Issue #7990: dir() on ElementTree.Element now lists properties: "tag", | Serhiy Storchaka | 2015-11-25 | 1 | -4/+6 |
|/ | | | | "text", "tail" and "attrib". Original patch by Santoso Wijaya. | ||||
* | Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. | Serhiy Storchaka | 2015-11-23 | 1 | -2/+27 |
|\ | |||||
| * | Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. | Serhiy Storchaka | 2015-11-23 | 1 | -2/+27 |
| | | |||||
* | | Issue #25691: Fixed crash on deleting ElementTree.Element attributes. | Serhiy Storchaka | 2015-11-23 | 1 | -0/+27 |
|\ \ | |/ | |||||
| * | Issue #25691: Fixed crash on deleting ElementTree.Element attributes. | Serhiy Storchaka | 2015-11-23 | 1 | -0/+27 |
| | | |||||
* | | Issue #19687: Fixed memory leak on failed Element slice assignment. | Serhiy Storchaka | 2015-11-22 | 1 | -0/+75 |
|\ \ | |/ | | | | | Added new tests for Element slice assignments. | ||||
| * | Issue #19687: Fixed memory leak on failed Element slice assignment. | Serhiy Storchaka | 2015-11-22 | 1 | -0/+75 |
| | | | | | | | | Added new tests for Element slice assignments. | ||||
* | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+14 |
|\ \ | |/ | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
| * | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+14 |
| | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
* | | Issue #25047: Merge Element Tree encoding from 3.4 into 3.5 | Martin Panter | 2015-09-23 | 1 | -7/+14 |
|\ \ | |/ | |||||
| * | Issue #25047: Respect case writing XML encoding declarations | Martin Panter | 2015-09-23 | 1 | -7/+14 |
| | | | | | | | | | | This restores the ability to write encoding names in uppercase like "UTF-8", which worked in Python 2. | ||||
* | | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -0/+41 |
|\ \ | |/ | | | | | | | | | | | 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 | -0/+41 |
| | | | | | | | | | | | | | | 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 | -0/+122 |
|\ \ | |/ | | | | | ElementTree. | ||||
| * | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -0/+122 |
| | | | | | | | | ElementTree. | ||||
* | | Issue #22681: Added support for the koi8_t encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -1/+1 |
| | | |||||
* | | Issue #22682: Added support for the kz1048 encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -1/+1 |
|/ | |||||
* | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -27/+30 |
| | |||||
* | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -0/+5 |
|\ | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
| * | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -0/+5 |
| | | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
* | | Issue #19668: Added support for the cp1125 encoding. | Serhiy Storchaka | 2013-11-23 | 1 | -3/+3 |
| | | |||||
* | | Close #18990: remove root attribute from XMLPullParser | Nick Coghlan | 2013-09-28 | 1 | -14/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - this was an internal implementation detail for iterparse - this has been changed to use a new private method instead - XMLPullParser.close docs are now more explicit about not returning a root element and instead direct users towards read_events - also added missing docstrings and clarified some details related to exactly *when* events are consumed from the internal queue (Initial patch by Stefan Behnel) | ||||
* | | Merge for Issue #18997: Issue #18997: fix ElementTree crash with using ↵ | Eli Bendersky | 2013-09-13 | 1 | -0/+12 |
|\ \ | |/ | | | | | pickle and __getstate__. | ||||
| * | Issue #18997: fix ElementTree crash with using pickle and __getstate__. | Eli Bendersky | 2013-09-13 | 1 | -0/+13 |
| | | | | | | | | Based on report and initial patch from Germán M. Bravo | ||||
* | | Issue #17741: Rename IncrementalParser and its methods. | Eli Bendersky | 2013-08-30 | 1 | -26/+26 |
| | | | | | | | | | | | | The new names are hopefully more descriptive and consistent. If you feel you don't agree with this change, *please* read issue 17741 first - there's a lot of discussion in there. | ||||
* | | Merge fix for Issue #17011 from 3.3 | Eli Bendersky | 2013-08-04 | 1 | -0/+14 |
|\ \ | |/ | |||||
| * | Issue #17011: Fix caching of xpath path when namespaces are present. | Eli Bendersky | 2013-08-04 | 1 | -0/+14 |
| | | | | | | | | Thanks to Stefan Behnel for the report and proposed solution & test. | ||||
* | | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 1 | -0/+7 |
|\ \ | |/ | | | | | closing tags. | ||||
| * | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 1 | -0/+7 |
| | | | | | | | | closing tags. | ||||
* | | Clean-up duplicated code in tests | Eli Bendersky | 2013-05-25 | 1 | -46/+0 |
|\ \ | |/ | |||||
| * | Clean-up duplicated code in tests | Eli Bendersky | 2013-05-25 | 1 | -46/+0 |
| | | |||||
* | | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 1 | -0/+92 |
|\ \ | |/ | | | | | | | | | | | 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 | -0/+92 |
| | | | | | | | | | | | | | | 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 | -15/+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 | -15/+30 |
| | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. |