summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.etree.elementtree.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix empty strings to empty bytes objects.Serhiy Storchaka2014-02-061-1/+1
|\
| * Fix empty strings to empty bytes objects.Serhiy Storchaka2014-02-061-1/+1
| |
| * Issue #19452: Clarify the documentation of iterparse w.r.t. events argument.Eli Bendersky2013-10-311-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 Murray2014-01-051-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 Murray2013-12-261-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.3Georg Brandl2013-10-061-1/+1
|\ \ | |/
| * Fix: Element.text is an attribute, not a method (report by Cameron Laird on ↵Georg Brandl2013-10-061-1/+1
| | | | | | | | docs@)
* | Close #18990: remove root attribute from XMLPullParserNick Coghlan2013-09-281-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 Bendersky2013-08-311-17/+17
| | | | | | | | | | | | The latter is more ambiguous. Related to issue #17741
* | Issue #17741: Rename IncrementalParser and its methods.Eli Bendersky2013-08-301-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 Storchaka2013-08-291-2/+3
|\ \ | |/
| * Issue #18760: Improved cross-references in the xml package.Serhiy Storchaka2013-08-291-2/+3
| |
* | Merge doc fix from 3.3Eli Bendersky2013-08-251-8/+8
|\ \ | |/
| * Update XMLParser.close documentation and fix formatting.Eli Bendersky2013-08-251-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 Melotti2013-08-251-2/+2
| |
* | Clarify the documentation of XMLParser.closeEli Bendersky2013-08-241-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 IncrementalParserEli Bendersky2013-08-041-2/+3
|\ \ | |/ | | | | Based on patch by Aaron Oakley
| * Issue #17902: Clarify doc of ElementTree.iterparseEli Bendersky2013-08-041-1/+2
| |
* | Clarify docs too: events can be any sequence (not that the C code supports it)Eli Bendersky2013-05-191-3/+3
| |
* | Add some documentation for IncrementalParesrEli Bendersky2013-04-201-2/+35
| |
* | Fix trailing whitespaceEli Bendersky2013-04-201-1/+1
| |
* | Update ET documentation reprhasing the mention of the new IncrementalParser inEli Bendersky2013-04-201-4/+5
| | | | | | | | the doc for iterparse.
* | Issue #17741: Add ElementTree.IncrementalParser, an event-driven parser for ↵Antoine Pitrou2013-04-181-0/+45
| | | | | | | | non-blocking applications.
* | Merge with 3.3.Georg Brandl2013-03-281-0/+2
|\ \ | |/
| * Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-281-0/+2
| | | | | | | | otherwise are cut off or have overlapping text.
* | Issue 17538: Document XML vulnerabiltiesChristian Heimes2013-03-261-0/+7
|\ \ | |/
| * Issue 17538: Document XML vulnerabiltiesChristian Heimes2013-03-261-0/+7
| |\
| | * Issue 17538: Document XML vulnerabiltiesChristian Heimes2013-03-261-0/+8
| | |
| | * Issue #11367: fix documentation of some find* methods in ElementTreeEli Bendersky2013-03-121-12/+3
| | |
| | * Clarify ET.iterparse documentation - this function is not supported by theEli Bendersky2013-01-241-2/+3
| | | | | | | | | | | | C implementation.
* | | Cleanup the docs ElementTree a bit.Serhiy Storchaka2013-01-131-6/+6
|\ \ \ | |/ /
| * | Describe the default_namespace parameter of ElemetTree.write.Serhiy Storchaka2013-01-131-1/+2
| |\ \ | | |/
| | * Describe the default_namespace parameter of ElemetTree.write.Serhiy Storchaka2013-01-131-7/+9
| | |
* | | Cleanup the docs ElementTree a bit and describe the default_namespace ↵Eli Bendersky2013-01-131-5/+7
| | | | | | | | | | | | parameter. In the code, replace the old outdated Doxygen-ish comment above ElementTree.write by a proper docstring.
* | | Close #14377: Add a new parameter to ElementTree.write and some module-levelEli Bendersky2013-01-131-3/+20
|/ / | | | | | | | | | | | | serialization functions - short_empty_elements. It controls how elements without contents are emitted. Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak.
* | Issue #16082: clarify the documentation of tostring[list] saying that it may ↵Eli Bendersky2012-10-091-8/+8
| | | | | | | | generate a bytestring, depending on the given encoding.
* | Issue #12322: clarify xpath reference for cases where the path reaches ↵Eli Bendersky2012-10-091-2/+4
| | | | | | | | ancestors of the start element. Also add missing markup for a None. Thanks to patrick vrijlandt and Mike Hoy for the report and initial patches.
* | Issue #15586: fix prompts in some documentation examplesEli Bendersky2012-08-181-2/+2
| |
* | Issue #15586: typo fix. This commit is accompanied by an apology for all ↵Eli Bendersky2012-08-151-5/+5
| | | | | | | | Liechtensteiners out there, and a thanks to Eric Araujo for noticing.
* | Issue #15586: add some examples to ElementTree documentation. Patch by ↵Eli Bendersky2012-08-141-11/+100
| | | | | | | | Daniel Ellis.
* | Issue #9458: clarify the documentation of ElementTree.write with regards to ↵Eli Bendersky2012-07-151-7/+17
| | | | | | | | the type of the stream expected for a given encoding
* | Close #1767933: Badly formed XML using etree and utf-16. Patch by Serhiy ↵Eli Bendersky2012-07-151-1/+0
| | | | | | | | Storchaka, with some minor fixes by me
* | fix trailing whitespaceEli Bendersky2012-06-011-1/+1
| |
* | Issue #14007: make XMLParser a real subclassable type exported from ↵Eli Bendersky2012-06-011-5/+5
| | | | | | | | _elementtree. +cleanups
* | Issue #14007: implemented the 'element_factory' feature of TreeBuilder inEli Bendersky2012-05-301-3/+3
| | | | | | | | _elementtree, with a test.
* | Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.Eli Bendersky2012-05-291-12/+17
| | | | | | | | | | Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti.
* | Issue #14006: improve the documentation of xml.etree.ElementTreeEli Bendersky2012-03-301-53/+126
| | | | | | | | | | | | | | | | Removed the useless explanation of the Element data structure that started the documentation page. Instead, the documentation now starts with a brief tutorial skimming some of the capabilities of the module. The tutorial can be followed by additional topic-specific sections (such as XPath support), and eventually by a reference that goes over the module's classes and functions, as usual.
* | Fix doc typo noticed by Amaury Forgeot d'ArcEli Bendersky2012-03-271-1/+1
| |
* | Issue #6488: Explain the XPath support of xml.etree.ElementTree, with codeEli Bendersky2012-03-261-30/+132
| | | | | | | | | | | | samples and a reference. Also fix the other nits mentioned in the issue. This also partially addresses issue #14006.
* | Issue #13782: streamline argument type-checking in ET.ElementEli Bendersky2012-03-231-5/+7
| | | | | | | | | | | | | | | | append, extend and insert now consistently type-check their argument in both the C and Python implementations, and raise TypeError for non-Element argument. Added tests