Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36543: Remove old-deprecated ElementTree features. (GH-12707) | Serhiy Storchaka | 2019-09-01 | 1 | -18/+0 |
| | | | | | Remove methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() and the xml.etree.cElementTree module. | ||||
* | bpo-14465: Add an indent() function to xml.etree.ElementTree to pretty-print ↵ | Stefan Behnel | 2019-08-23 | 1 | -0/+12 |
| | | | | XML trees (GH-15200) | ||||
* | bpo-34160: explain how to deal with attribute order in ElementTree (GH-14867) | Stefan Behnel | 2019-07-24 | 1 | -2/+40 |
| | | | | | | | * Fix the formatting in the documentation of the tostring() functions. * bpo-34160: Document that the tostring() and tostringlist() functions also preserve the attribute order now. * bpo-34160: Add an explanation of how users should deal with the attribute order. | ||||
* | bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ↵ | Stefan Behnel | 2019-05-03 | 1 | -2/+15 |
| | | | | ElementPath, and extend the surrounding tests and docs. (GH-12997) | ||||
* | bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966) | Stefan Behnel | 2019-05-01 | 1 | -0/+60 |
| | | | | | | | * Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations | ||||
* | bpo-36676: Namespace prefix aware parsing support for the ET.XMLParser ↵ | Stefan Behnel | 2019-05-01 | 1 | -2/+20 |
| | | | | | target (GH-12885) * bpo-36676: Implement namespace prefix aware parsing support for the XMLParser target in ElementTree. | ||||
* | bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ↵ | Stefan Behnel | 2019-05-01 | 1 | -12/+53 |
| | | | | | | | | ElementTree. (#12883) * bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. * bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default). | ||||
* | bpo-30485: Change the prefix for defining the default namespace in ↵ | Stefan Behnel | 2019-04-18 | 1 | -3/+3 |
| | | | | ElementPath from None to '' since there is existing code that uses that and it's more convenient to have an all-string-keys dict (e.g. when sorting items etc.). (#12860) | ||||
* | bpo-30485: support a default prefix mapping in ElementPath by passing None ↵ | Stefan Behnel | 2019-04-14 | 1 | -3/+6 |
| | | | | as prefix (#1823) | ||||
* | bpo-36227: ElementTree.tostring() default_namespace and xml_declaration ↵ | Bernt Røskar Brenna | 2019-04-14 | 1 | -6/+15 |
| | | | | | arguments (GH-12225) Add new keyword arguments "default_namespace" and "xml_declaration" to functions ET.tostring() and ET.tostringlist(), as known from ElementTree.write(). | ||||
* | bpo-28235: Fix xml.etree.ElementTree.fromstring docs (GH-11903) | Manjusaka | 2019-02-22 | 1 | -2/+4 |
| | |||||
* | bpo-34160: Preserve user specified order of Element attributes (GH-10163) | Raymond Hettinger | 2018-10-28 | 1 | -0/+8 |
| | |||||
* | bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769) | Serhiy Storchaka | 2018-07-24 | 1 | -16/+9 |
| | | | | | Also make getchildren() and getiterator() emitting a DeprecationWarning instead of PendingDeprecationWarning. | ||||
* | bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) | sblondon | 2018-02-10 | 1 | -1/+1 |
| | | | The new link is given in a red box on the old page. | ||||
* | bpo-31648: Improve ElementPath (#3835) | scoder | 2017-09-30 | 1 | -0/+5 |
| | | | | | * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']". | ||||
* | bpo-30380: Fix Sphinx 1.6.1 warnings. (#1613) | Serhiy Storchaka | 2017-05-16 | 1 | -1/+1 |
| | | | | | | | | * Use explicit numbering for footnotes referred by explicit number. * Restore missed footnote reference in stdtypes.rst. * Fix literal strings formatting in howto/urllib2.rst. * Update susp-ignored.csv for zipapp.rst. * Fix suspicious mark up in Misc/NEWS. | ||||
* | Issue #19795: Mark up True and False as literal text instead of bold. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+5 |
| | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -13/+13 |
| | | | | Original patch by James Edwards. | ||||
* | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -4/+4 |
| | |||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Closes #26444: typo fixes. | Georg Brandl | 2016-02-26 | 1 | -7/+7 |
| | |||||
* | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 1 | -1/+1 |
| | |||||
* | Issue #24079: Improve description of the text and tail attributes for | Ned Deily | 2015-08-18 | 1 | -11/+19 |
| | | | | ElementTree Element objects. Initial patch by Martin Panter. | ||||
* | Issue #23729: Improve docs for ElementTree namespace parsing | Raymond Hettinger | 2015-03-31 | 1 | -8/+10 |
| | |||||
* | Issue 23729: Document ElementTree namespace handling and fix an omission in ↵ | Raymond Hettinger | 2015-03-22 | 1 | -0/+68 |
| | | | | the XPATH predicate table. | ||||
* | Fixing broken links in doc, part 4: some more breaks and redirects | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | |||||
* | Issue #20375: Clarify ET's parsing of comments and processing instructions. | Eli Bendersky | 2014-04-03 | 1 | -0/+22 |
| | | | | Based on patch by Nikolaus Rath. | ||||
* | Minor readability improvement. | Raymond Hettinger | 2014-03-29 | 1 | -1/+1 |
| | |||||
* | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -1/+2 |
| | |||||
* | Fix empty strings to empty bytes objects. | Serhiy Storchaka | 2014-02-06 | 1 | -1/+1 |
|\ | |||||
| * | Fix empty strings to empty bytes objects. | Serhiy Storchaka | 2014-02-06 | 1 | -1/+1 |
| | | |||||
| * | Issue #19452: Clarify the documentation of iterparse w.r.t. events argument. | Eli Bendersky | 2013-10-31 | 1 | -1/+1 |
| | | | | | | | | | | In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this). This limitation was lifted in Python 3.4 | ||||
* | | whatsnew: XMLPullParser, plus some doc updates. | R David Murray | 2014-01-05 | 1 | -9/+14 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | shelf in with stmt, fish/csh in venv, ElementTree short_empty_elements keyword. | R David Murray | 2013-12-26 | 1 | -2/+2 |
| | | | | | | | | | | | | Also added versionadded for for fish/csh, fixed indentation of versionadded for ElementTree.write, and make the behavior of shelf as a context manager explicit in the docs. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix: Element.text is an attribute, not a method (report by Cameron Laird on ↵ | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| | | | | | | | | docs@) | ||||
* | | Close #18990: remove root attribute from XMLPullParser | Nick Coghlan | 2013-09-28 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) | ||||
* | | Fix XMLPullParser documentation to say "non-blocking" instead of "asynchronous". | Eli Bendersky | 2013-08-31 | 1 | -17/+17 |
| | | | | | | | | | | | | The latter is more ambiguous. Related to issue #17741 | ||||
* | | Issue #17741: Rename IncrementalParser and its methods. | Eli Bendersky | 2013-08-30 | 1 | -90/+105 |
| | | | | | | | | | | | | 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. | ||||
* | | Issue #18760: Improved cross-references in the xml package. | Serhiy Storchaka | 2013-08-29 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #18760: Improved cross-references in the xml package. | Serhiy Storchaka | 2013-08-29 | 1 | -2/+3 |
| | | |||||
* | | Merge doc fix from 3.3 | Eli Bendersky | 2013-08-25 | 1 | -8/+8 |
|\ \ | |/ | |||||
| * | Update XMLParser.close documentation and fix formatting. | Eli Bendersky | 2013-08-25 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | | Using ``method`` markup because the method is on a callback object, not an explicitly documented method. :meth: markup creates links within the current class which is incorrect. In addition, indent the paragraph correctly. | ||||
* | | Fix markup in elementtree docs. | Ezio Melotti | 2013-08-25 | 1 | -2/+2 |
| | | |||||
* | | Clarify the documentation of XMLParser.close | Eli Bendersky | 2013-08-24 | 1 | -1/+3 |
| | | | | | | | | | | | | The return value of close() is not always a toplevel element. It depends on what the underlying target returns. By default, TreeBuilder returns the toplevel document element. | ||||
* | | Issue #17902: Clarify doc of ElementTree.iterparse and IncrementalParser | Eli Bendersky | 2013-08-04 | 1 | -2/+3 |
|\ \ | |/ | | | | | Based on patch by Aaron Oakley | ||||
| * | Issue #17902: Clarify doc of ElementTree.iterparse | Eli Bendersky | 2013-08-04 | 1 | -1/+2 |
| | | |||||
* | | Clarify docs too: events can be any sequence (not that the C code supports it) | Eli Bendersky | 2013-05-19 | 1 | -3/+3 |
| | | |||||
* | | Add some documentation for IncrementalParesr | Eli Bendersky | 2013-04-20 | 1 | -2/+35 |
| | |