Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Fix trailing whitespace | Eli Bendersky | 2013-04-20 | 1 | -1/+1 |
| | | |||||
* | | Update ET documentation reprhasing the mention of the new IncrementalParser in | Eli Bendersky | 2013-04-20 | 1 | -4/+5 |
| | | | | | | | | the doc for iterparse. | ||||
* | | Issue #17741: Add ElementTree.IncrementalParser, an event-driven parser for ↵ | Antoine Pitrou | 2013-04-18 | 1 | -0/+45 |
| | | | | | | | | non-blocking applications. | ||||
* | | Merge with 3.3. | Georg Brandl | 2013-03-28 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Closes #4159: add LaTeX tabular column specifications to tables that ↵ | Georg Brandl | 2013-03-28 | 1 | -0/+2 |
| | | | | | | | | otherwise are cut off or have overlapping text. | ||||
* | | Issue 17538: Document XML vulnerabilties | Christian Heimes | 2013-03-26 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue 17538: Document XML vulnerabilties | Christian Heimes | 2013-03-26 | 1 | -0/+7 |
| |\ | |||||
| | * | Issue 17538: Document XML vulnerabilties | Christian Heimes | 2013-03-26 | 1 | -0/+8 |
| | | | |||||
| | * | Issue #11367: fix documentation of some find* methods in ElementTree | Eli Bendersky | 2013-03-12 | 1 | -12/+3 |
| | | | |||||
| | * | Clarify ET.iterparse documentation - this function is not supported by the | Eli Bendersky | 2013-01-24 | 1 | -2/+3 |
| | | | | | | | | | | | | C implementation. | ||||
* | | | Cleanup the docs ElementTree a bit. | Serhiy Storchaka | 2013-01-13 | 1 | -6/+6 |
|\ \ \ | |/ / | |||||
| * | | Describe the default_namespace parameter of ElemetTree.write. | Serhiy Storchaka | 2013-01-13 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | Describe the default_namespace parameter of ElemetTree.write. | Serhiy Storchaka | 2013-01-13 | 1 | -7/+9 |
| | | | |||||
* | | | Cleanup the docs ElementTree a bit and describe the default_namespace ↵ | Eli Bendersky | 2013-01-13 | 1 | -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-level | Eli Bendersky | 2013-01-13 | 1 | -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 Bendersky | 2012-10-09 | 1 | -8/+8 |
| | | | | | | | | generate a bytestring, depending on the given encoding. | ||||
* | | Issue #12322: clarify xpath reference for cases where the path reaches ↵ | Eli Bendersky | 2012-10-09 | 1 | -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 examples | Eli Bendersky | 2012-08-18 | 1 | -2/+2 |
| | | |||||
* | | Issue #15586: typo fix. This commit is accompanied by an apology for all ↵ | Eli Bendersky | 2012-08-15 | 1 | -5/+5 |
| | | | | | | | | Liechtensteiners out there, and a thanks to Eric Araujo for noticing. | ||||
* | | Issue #15586: add some examples to ElementTree documentation. Patch by ↵ | Eli Bendersky | 2012-08-14 | 1 | -11/+100 |
| | | | | | | | | Daniel Ellis. | ||||
* | | Issue #9458: clarify the documentation of ElementTree.write with regards to ↵ | Eli Bendersky | 2012-07-15 | 1 | -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 Bendersky | 2012-07-15 | 1 | -1/+0 |
| | | | | | | | | Storchaka, with some minor fixes by me | ||||
* | | fix trailing whitespace | Eli Bendersky | 2012-06-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #14007: make XMLParser a real subclassable type exported from ↵ | Eli Bendersky | 2012-06-01 | 1 | -5/+5 |
| | | | | | | | | _elementtree. +cleanups | ||||
* | | Issue #14007: implemented the 'element_factory' feature of TreeBuilder in | Eli Bendersky | 2012-05-30 | 1 | -3/+3 |
| | | | | | | | | _elementtree, with a test. | ||||
* | | Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree. | Eli Bendersky | 2012-05-29 | 1 | -12/+17 |
| | | | | | | | | | | Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti. | ||||
* | | Issue #14006: improve the documentation of xml.etree.ElementTree | Eli Bendersky | 2012-03-30 | 1 | -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'Arc | Eli Bendersky | 2012-03-27 | 1 | -1/+1 |
| | | |||||
* | | Issue #6488: Explain the XPath support of xml.etree.ElementTree, with code | Eli Bendersky | 2012-03-26 | 1 | -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.Element | Eli Bendersky | 2012-03-23 | 1 | -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 |