summaryrefslogtreecommitdiffstats
path: root/Lib/xml
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26676: Add missing XMLPullParser to ElementTree.__all__Martin Panter2016-04-011-1/+1
|
* Issue #25902: Fixed various refcount issues in ElementTree iteration.Serhiy Storchaka2015-12-211-4/+6
|\
| * Issue #25902: Fixed various refcount issues in ElementTree iteration.Serhiy Storchaka2015-12-211-4/+6
| |
* | Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.Serhiy Storchaka2015-12-071-61/+31
|/ | | | | ElementTree.XMLParser._setevents now accepts any objects with the append method, not just a list.
* Issue #10131: Fixed deep copying of minidom documents. Based on patchSerhiy Storchaka2015-11-261-3/+3
|\ | | | | | | by Marian Ganisin.
| * Issue #10131: Fixed deep copying of minidom documents. Based on patchSerhiy Storchaka2015-11-261-3/+3
| | | | | | | | by Marian Ganisin.
* | Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.Serhiy Storchaka2015-11-231-15/+26
|\ \ | |/
| * Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.Serhiy Storchaka2015-11-231-15/+26
| |
* | Issue #25047: Merge Element Tree encoding from 3.4 into 3.5Martin Panter2015-09-231-5/+4
|\ \ | |/
| * Issue #25047: Respect case writing XML encoding declarationsMartin Panter2015-09-231-5/+4
| | | | | | | | | | This restores the ability to write encoding names in uppercase like "UTF-8", which worked in Python 2.
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-1/+25
| |
* | Issue #24125: Saved error's line and column numbers when an error is occuredSerhiy Storchaka2015-05-061-2/+13
|\ \ | |/ | | | | during closing expatreader. Fixed a regression introduced in issue #23865.
| * Issue #24125: Saved error's line and column numbers when an error is occuredSerhiy Storchaka2015-05-061-2/+13
| | | | | | | | during closing expatreader. Fixed a regression introduced in issue #23865.
* | Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-12/+14
|\ \ | |/ | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-9/+11
| | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | Issue #10590: xml.sax.parseString() now supports string argument.Serhiy Storchaka2015-04-041-3/+5
| |
* | Issue #2175: SAX parsers now support a character stream of InputSource object.Serhiy Storchaka2015-04-023-6/+16
| |
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-312-7/+0
| | | | | | | | implementation in issue #21408 they are redundant.
* | Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
|\ \ | |/
| * Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
| |
* | Minor code cleanup.Raymond Hettinger2014-11-281-4/+1
| |
* | Issue #22915: SAX parser now supports files opened with file descriptor orSerhiy Storchaka2014-11-271-1/+1
|\ \ | |/ | | | | bytes path.
| * Issue #22915: SAX parser now supports files opened with file descriptor orSerhiy Storchaka2014-11-271-1/+1
| | | | | | | | bytes path.
* | PEP 479: Don't let StopIteration bubble out of calls to next() inside a ↵Raymond Hettinger2014-11-231-3/+12
| | | | | | | | generator.
* | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-252-4/+5
|/ | | | class name instead of hardcoded one.
* Issue #21774: Fix incorrect variable in xml.dom.minidomRaymond Hettinger2014-06-151-1/+1
|
* #12220: improve minidom error when URI contains spaces.R David Murray2014-04-201-1/+3
| | | | Fix by 'amathew', test by Marek Stepniowski.
* Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-251-5/+4
|\ | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
| * Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-251-5/+4
| | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
* | whatsnew: XMLPullParser, plus some doc updates.R David Murray2014-01-051-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.
* | Merge from 3.3Andrew Kuchling2013-11-121-1/+5
|\ \ | |/
| * Closes #12828: add docstring text noting this is an internal-only moduleAndrew Kuchling2013-11-121-1/+5
| |
* | merge 3.3 (#19127)Benjamin Peterson2013-09-291-3/+0
|\ \ | |/
| * remove duplicate method (closes #19127)Benjamin Peterson2013-09-291-3/+0
| |
* | Close #18990: remove root attribute from XMLPullParserNick Coghlan2013-09-281-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 Bendersky2013-08-301-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 Bendersky2013-08-261-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 Pitrou2013-08-231-6/+8
| | | | | | | | | | | | xml.etree.iterparse's result class. Patch by Stefan Behnel.
* | #18741: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\ \ | |/
| * #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
| |
* | Merge fix for Issue #17011 from 3.3Eli Bendersky2013-08-041-2/+4
|\ \ | |/
| * Issue #17011: Fix caching of xpath path when namespaces are present.Eli Bendersky2013-08-041-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 Heimes2013-07-041-3/+3
|\ \ | |/ | | | | closing tags.
| * Issue #18347: ElementTree's html serializer now preserves the case of ↵Christian Heimes2013-07-041-3/+3
| | | | | | | | closing tags.
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-042-8/+19
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-142-19/+8
| | | | | | | | ModuleNotFoundError.
* | Get rid of ugly code duplication for ElementTree.parse when the acceleratorEli Bendersky2013-05-201-28/+11
| | | | | | | | | | is imported. Instead, ElementTree.parse can look for a special internal method defined by the accelerator.
* | normalize whitespaceEli Bendersky2013-05-191-4/+0
| |
* | Cleanup even more dead codeEli Bendersky2013-05-191-7/+0
| |
* | Cleanup more old ET library leftoversEli Bendersky2013-05-191-7/+4
| |