Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36431: Use PEP 448 dict unpacking for merging two dicts. (GH-12553) | Serhiy Storchaka | 2019-03-27 | 1 | -5/+2 |
| | |||||
* | bpo-34160: Preserve user specified order of Element attributes in html. ↵ | Serhiy Storchaka | 2018-10-29 | 1 | -1/+1 |
| | | | | (GH-10190) | ||||
* | bpo-34160: Preserve user specified order of Element attributes (GH-10163) | Raymond Hettinger | 2018-10-28 | 1 | -1/+1 |
| | |||||
* | bpo-35013: Add more type checks for children of Element. (GH-9944) | Serhiy Storchaka | 2018-10-19 | 1 | -5/+5 |
| | | | | | | It is now guarantied that children of xml.etree.ElementTree.Element are Elements (at least in C implementation). Previously methods __setitem__(), __setstate__() and __deepcopy__() could be used for adding non-Element children. | ||||
* | bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769) | Serhiy Storchaka | 2018-07-24 | 1 | -31/+9 |
| | | | | | Also make getchildren() and getiterator() emitting a DeprecationWarning instead of PendingDeprecationWarning. | ||||
* | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -1/+1 |
| | | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py | ||||
* | bpo-31776: Missing "raise from None" in Lib/xml/etree/ElementPath.py (#3978) | Pablo Galindo | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | bpo-31648: Improve ElementPath (#3835) | scoder | 2017-09-30 | 1 | -7/+16 |
| | | | | | * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']". | ||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -1/+2 |
| | | | | collections. (#1263) | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -1/+1 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | bpo-29204: Emit warnings for already deprecated ElementTree features. (#773) | Serhiy Storchaka | 2017-03-30 | 1 | -1/+6 |
| | | | | | | | | Element.getiterator() and the html parameter of XMLParser() were deprecated only in the documentation (since Python 3.2 and 3.4 correspondintly). Now using them emits a deprecation warning. * Don’t need check_warnings any more. | ||||
* | merge | Raymond Hettinger | 2016-09-11 | 1 | -0/+11 |
|\ | |||||
| * | Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes | Raymond Hettinger | 2016-09-11 | 1 | -0/+11 |
| | | | | | | | | (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.) | ||||
* | | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 2 | -12/+12 |
| | | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | | Merge Element Tree doc string from 3.5 | Martin Panter | 2016-06-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Clarify deprecation of ElementTree.XMLParser(html=...) parameter | Martin Panter | 2016-06-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #26676: Add missing XMLPullParser to ElementTree.__all__ | Martin Panter | 2016-04-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #25902: Fixed various refcount issues in ElementTree iteration. | Serhiy Storchaka | 2015-12-21 | 1 | -4/+6 |
|\ \ | |/ | |||||
| * | Issue #25902: Fixed various refcount issues in ElementTree iteration. | Serhiy Storchaka | 2015-12-21 | 1 | -4/+6 |
| | | |||||
* | | Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster. | Serhiy Storchaka | 2015-12-07 | 1 | -61/+31 |
|/ | | | | | ElementTree.XMLParser._setevents now accepts any objects with the append method, not just a list. | ||||
* | Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. | Serhiy Storchaka | 2015-11-23 | 1 | -15/+26 |
|\ | |||||
| * | Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. | Serhiy Storchaka | 2015-11-23 | 1 | -15/+26 |
| | | |||||
* | | Issue #25047: Merge Element Tree encoding from 3.4 into 3.5 | Martin Panter | 2015-09-23 | 1 | -5/+4 |
|\ \ | |/ | |||||
| * | Issue #25047: Respect case writing XML encoding declarations | Martin Panter | 2015-09-23 | 1 | -5/+4 |
| | | | | | | | | | | This restores the ability to write encoding names in uppercase like "UTF-8", which worked in Python 2. | ||||
* | | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -4/+0 |
| | | | | | | | | implementation in issue #21408 they are redundant. | ||||
* | | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | | |||||
* | | Minor code cleanup. | Raymond Hettinger | 2014-11-28 | 1 | -4/+1 |
| | | |||||
* | | PEP 479: Don't let StopIteration bubble out of calls to next() inside a ↵ | Raymond Hettinger | 2014-11-22 | 1 | -3/+12 |
| | | | | | | | | generator. | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -2/+2 |
|/ | | | | class name instead of hardcoded one. | ||||
* | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 1 | -5/+4 |
|\ | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
| * | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 1 | -5/+4 |
| | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
* | | whatsnew: XMLPullParser, plus some doc updates. | R David Murray | 2014-01-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | I was confused by the text saying that read_events "iterated", since it actually returns an iterator (that's what a generator does) that the caller must then iterate. So I tidied up the language. I'm not sure what the sentence "Events provided in a previous call to read_events() will not be yielded again." is trying to convey, so I didn't try to fix that. Also fixed a couple more news items. | ||||
* | | Close #18990: remove root attribute from XMLPullParser | Nick Coghlan | 2013-09-28 | 1 | -10/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) | ||||
* | | Issue #17741: Rename IncrementalParser and its methods. | Eli Bendersky | 2013-08-30 | 1 | -16/+20 |
| | | | | | | | | | | | | 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. | ||||
* | | Remove the obsolete XMLParser._start/_start_list duality. | Eli Bendersky | 2013-08-25 | 1 | -26/+12 |
| | | | | | | | | | | XMLParser configures expat to report attributes in a list (ordered_attributes), so only _start_list is needed. Rename it to _start and kill _start. | ||||
* | | Issue #17741: use composition, rather than inheritance, for ↵ | Antoine Pitrou | 2013-08-23 | 1 | -6/+8 |
| | | | | | | | | | | | | xml.etree.iterparse's result class. Patch by Stefan Behnel. | ||||
* | | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | |||||
* | | Merge fix for Issue #17011 from 3.3 | Eli Bendersky | 2013-08-03 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #17011: Fix caching of xpath path when namespaces are present. | Eli Bendersky | 2013-08-03 | 1 | -2/+4 |
| | | | | | | | | 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-05 | 1 | -3/+3 |
|\ \ | |/ | | | | | closing tags. | ||||
| * | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-05 | 1 | -3/+3 |
| | | | | | | | | closing tags. | ||||
| * | Issue #11367: fix documentation of some find* methods in ElementTree | Eli Bendersky | 2013-03-12 | 1 | -7/+4 |
| |\ | |||||
| | * | Issue #11367: fix documentation of some find* methods in ElementTree | Eli Bendersky | 2013-03-12 | 1 | -7/+4 |
| | | | |||||
* | | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -5/+5 |
| | | | |||||
* | | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-13 | 1 | -5/+5 |
| | | | | | | | | | | | | ModuleNotFoundError. | ||||
* | | | Get rid of ugly code duplication for ElementTree.parse when the accelerator | Eli Bendersky | 2013-05-19 | 1 | -28/+11 |
| | | | | | | | | | | | | | | | is imported. Instead, ElementTree.parse can look for a special internal method defined by the accelerator. | ||||
* | | | normalize whitespace | Eli Bendersky | 2013-05-19 | 1 | -4/+0 |
| | | | |||||
* | | | Cleanup even more dead code | Eli Bendersky | 2013-05-19 | 1 | -7/+0 |
| | | |