| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) (GH-11066) | Victor Stinner | 2018-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | Fix xml.dom.minidom cloneNode() on a document with an entity: pass the correct arguments to the user data handler of an entity (fix an old copy/paste mistake). Bug spotted and fix proposed by Charalampos Stratakis, initial reproducer written by Petr Viktorin. Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com> Co-Authored-By: Petr Viktorin <encukou@gmail.com> (cherry picked from commit 8e0418688906206fe59bd26344320c0fc026849e) | ||||
| * | bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9545) | Miss Islington (bot) | 2018-10-19 | 2 | -2/+4 |
| | | | | | | | | | | | The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 223e501fb9c2b6ae21b96054e20c4c31d94a5d96) Co-authored-by: Christian Heimes <christian@python.org> | ||||
| * | [3.7] bpo-17239: Disable external entities in SAX parser (GH-9217) (GH-9511) | Christian Heimes | 2018-09-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The SAX parser no longer processes general external entities by default to increase security. Before, the parser created network connections to fetch remote files or loaded local files from the file system for DTD and entities. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239. (cherry picked from commit 17b1d5d4e36aa57a9b25a0e694affbd1ee637e45) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239 | ||||
| * | bpo-33549: Remove shim and deprecation warning to access DocumentLS.async. ↵ | Miss Islington (bot) | 2018-05-17 | 1 | -22/+0 |
| | | | | | | | | | | (GH-6924) (GH-6929) `obj.async` is now a syntax error, so the warning/shim is quasi-unnecessary. (cherry picked from commit f90f5d5c1d95721e0ca0b1c302e3d13ed34753a8) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> | ||||
| * | 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-30264: ExpatParser closes the source on error (#1451) | Victor Stinner | 2017-05-05 | 1 | -11/+22 |
| | | | | | | | | | ExpatParser.parse() of xml.sax.xmlreader now always closes the source: close the file object or the urllib object if source is a string (not an open file-like object). The change fixes a ResourceWarning on parsing error. Add test_parse_close_source() unit test. | ||||
| * | 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 | 2 | -2/+2 |
| | | | | 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. | ||||
| * | Issue #26182: Raise DeprecationWarning for improper use of async/await keywords | Yury Selivanov | 2016-09-15 | 1 | -3/+3 |
| | | |||||
| * | merge | Raymond Hettinger | 2016-09-12 | 1 | -0/+11 |
| |\ | |||||
| | * | Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes | Raymond Hettinger | 2016-09-12 | 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. | ||||
| * | | Issue #23804: Merge spelling and NEWS fixes from 3.5 | Martin Panter | 2016-07-11 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | English spelling and grammar fixes | Martin Panter | 2016-07-11 | 1 | -1/+1 |
| | | | |||||
| * | | 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 #10131: Fixed deep copying of minidom documents. Based on patch | Serhiy Storchaka | 2015-11-26 | 1 | -3/+3 |
| |\ | | | | | | | by Marian Ganisin. | ||||
| | * | Issue #10131: Fixed deep copying of minidom documents. Based on patch | Serhiy Storchaka | 2015-11-26 | 1 | -3/+3 |
| | | | | | | | | | by Marian Ganisin. | ||||
| * | | 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. | ||||
| * | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -1/+25 |
| | | | |||||
| * | | Issue #24125: Saved error's line and column numbers when an error is occured | Serhiy Storchaka | 2015-05-06 | 1 | -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 occured | Serhiy Storchaka | 2015-05-06 | 1 | -2/+13 |
| | | | | | | | | | during closing expatreader. Fixed a regression introduced in issue #23865. | ||||
| * | | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -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 more | Serhiy Storchaka | 2015-04-10 | 1 | -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 Storchaka | 2015-04-04 | 1 | -3/+5 |
| | | | |||||
| * | | Issue #2175: SAX parsers now support a character stream of InputSource object. | Serhiy Storchaka | 2015-04-02 | 3 | -6/+16 |
| | | | |||||
| * | | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 2 | -7/+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 |
| | | | |||||
| * | | Issue #22915: SAX parser now supports files opened with file descriptor or | Serhiy Storchaka | 2014-11-27 | 1 | -1/+1 |
| |\ \ | |/ | | | | | bytes path. | ||||
| | * | Issue #22915: SAX parser now supports files opened with file descriptor or | Serhiy Storchaka | 2014-11-27 | 1 | -1/+1 |
| | | | | | | | | | bytes path. | ||||
| * | | PEP 479: Don't let StopIteration bubble out of calls to next() inside a ↵ | Raymond Hettinger | 2014-11-23 | 1 | -3/+12 |
| | | | | | | | | | generator. | ||||
| * | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 2 | -4/+5 |
| |/ | | | | class name instead of hardcoded one. | ||||
| * | Issue #21774: Fix incorrect variable in xml.dom.minidom | Raymond Hettinger | 2014-06-15 | 1 | -1/+1 |
| | | |||||
| * | #12220: improve minidom error when URI contains spaces. | R David Murray | 2014-04-20 | 1 | -1/+3 |
| | | | | | Fix by 'amathew', test by Marek Stepniowski. | ||||
| * | 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-05 | 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. | ||||
| * | | Merge from 3.3 | Andrew Kuchling | 2013-11-12 | 1 | -1/+5 |
| |\ \ | |/ | |||||
