Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.3 (#19127) | Benjamin Peterson | 2013-09-29 | 1 | -3/+0 |
|\ | |||||
| * | remove duplicate method (closes #19127) | Benjamin Peterson | 2013-09-29 | 1 | -3/+0 |
| | | |||||
* | | Close #18990: remove root attribute from XMLPullParser | Nick Coghlan | 2013-09-28 | 1 | -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 Bendersky | 2013-08-30 | 1 | -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 Bendersky | 2013-08-26 | 1 | -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 Pitrou | 2013-08-23 | 1 | -6/+8 |
| | | | | | | | | | | | | xml.etree.iterparse's result class. Patch by Stefan Behnel. | ||||
* | | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | |||||
* | | Merge fix for Issue #17011 from 3.3 | Eli Bendersky | 2013-08-04 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #17011: Fix caching of xpath path when namespaces are present. | Eli Bendersky | 2013-08-04 | 1 | -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 Heimes | 2013-07-04 | 1 | -3/+3 |
|\ \ | |/ | | | | | closing tags. | ||||
| * | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 1 | -3/+3 |
| | | | | | | | | closing tags. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 2 | -8/+19 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 2 | -19/+8 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Get rid of ugly code duplication for ElementTree.parse when the accelerator | Eli Bendersky | 2013-05-20 | 1 | -28/+11 |
| | | | | | | | | | | is imported. Instead, ElementTree.parse can look for a special internal method defined by the accelerator. | ||||
* | | normalize whitespace | Eli Bendersky | 2013-05-19 | 1 | -4/+0 |
| | | |||||
* | | Cleanup even more dead code | Eli Bendersky | 2013-05-19 | 1 | -7/+0 |
| | | |||||
* | | Cleanup more old ET library leftovers | Eli Bendersky | 2013-05-19 | 1 | -7/+4 |
| | | |||||
* | | Issue #17988: remove unused alias for Element and rename the used one | Eli Bendersky | 2013-05-19 | 1 | -18/+6 |
| | | | | | | | | | | | | | | Renaming to _Element_Py for clarity and moving it to a more logical location. _ElementInterface OTOH is unused and is therefore removed. Close #17988 | ||||
* | | _elementtree.XMLParser._setevents should support any sequence, not just tuples | Eli Bendersky | 2013-05-19 | 1 | -12/+17 |
| | | | | | | | | Also clean up some code around this | ||||
* | | Issue #17606: Fixed support of encoded byte strings in the XMLGenerator | Serhiy Storchaka | 2013-05-12 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | characters() and ignorableWhitespace() methods. Original patch by Sebastian Ortiz Vasquez. | ||||
| * | Issue #17606: Fixed support of encoded byte strings in the XMLGenerator | Serhiy Storchaka | 2013-05-12 | 1 | -0/+4 |
| | | | | | | | | | | characters() and ignorableWhitespace() methods. Original patch by Sebastian Ortiz Vasquez. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-05-12 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | merge with 3.2 | Georg Brandl | 2013-05-12 | 1 | -0/+5 |
| |\ | |||||
| | * | Issue #17915: Fix interoperability of xml.sax with file objects returned by | Georg Brandl | 2013-05-12 | 1 | -0/+5 |
| | | | | | | | | | | | | codecs.open(). | ||||
| * | | Issue #11367: fix documentation of some find* methods in ElementTree | Eli Bendersky | 2013-03-12 | 1 | -7/+4 |
| |\ \ | | |/ | |||||
| | * | Issue #11367: fix documentation of some find* methods in ElementTree | Eli Bendersky | 2013-03-12 | 1 | -7/+4 |
| | | | |||||
* | | | Remove superfluous try/except | Eli Bendersky | 2013-04-20 | 1 | -12/+6 |
| | | | |||||
* | | | Make license notices more consistent and remove old changelog. | Eli Bendersky | 2013-04-20 | 1 | -4/+3 |
| | | | | | | | | | | | | Also remove unused macro. | ||||
* | | | Issue #17741: Add ElementTree.IncrementalParser, an event-driven parser for ↵ | Antoine Pitrou | 2013-04-18 | 1 | -109/+94 |
| | | | | | | | | | | | | non-blocking applications. | ||||
* | | | Issue #17516: use comment syntax for comments, instead of multiline string | Victor Stinner | 2013-03-26 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #16954: Add docstrings for ElementTree | Eli Bendersky | 2013-03-09 | 1 | -578/+486 |
| | | | | | | | | | | | | Based on patch by David Lam | ||||
* | | | modernize some modules' code by using with statement around open() | Giampaolo Rodola' | 2013-02-12 | 1 | -8/+2 |
| | | | |||||
* | | | Issue #1470548: XMLGenerator now works with binary output streams. | Serhiy Storchaka | 2013-02-10 | 1 | -21/+46 |
|\ \ \ | |/ / | |||||
| * | | Issue #1470548: XMLGenerator now works with binary output streams. | Serhiy Storchaka | 2013-02-10 | 1 | -21/+46 |
| |\ \ | | |/ | |||||
| | * | Issue #1470548: XMLGenerator now works with binary output streams. | Serhiy Storchaka | 2013-02-10 | 1 | -21/+46 |
| | | | |||||
* | | | Issue #9708: Fix support for iterparse(parser=...) argument per documentation. | Eli Bendersky | 2013-01-24 | 1 | -3/+16 |
|\ \ \ | |/ / | | | | | | | | | | When _elementtree is imported, iterparse is redefined as a class and the parser argument was ommitted. Fix this, and add a docstring to the class. | ||||
| * | | Issue #9708: Fix support for iterparse(parser=...) argument per documentation. | Eli Bendersky | 2013-01-24 | 1 | -3/+16 |
| | | | | | | | | | | | | | | | When _elementtree is imported, iterparse is redefined as a class and the parser argument was ommitted. Fix this, and add a docstring to the class. | ||||
* | | | Issue #12323: Strengthen error checking of the position XPath selectors | Eli Bendersky | 2013-01-24 | 1 | -2/+7 |
| | | | |||||
* | | | #11379: merge with 3.3. | Ezio Melotti | 2013-01-22 | 1 | -2/+3 |
|\ \ \ | |/ / | |||||
| * | | #11379: merge with 3.2. | Ezio Melotti | 2013-01-22 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| | * | #11379: rephrase minidom documentation to use the term "minimal" instead of ↵ | Ezio Melotti | 2013-01-22 | 1 | -2/+3 |
| | | | | | | | | | | | | "lightweight". Patch by Éric Araujo. | ||||
* | | | Cleanup the docs ElementTree a bit. | Serhiy Storchaka | 2013-01-13 | 1 | -8/+8 |
|\ \ \ | |/ / | |||||
| * | | Describe the default_namespace parameter of ElemetTree.write. | Serhiy Storchaka | 2013-01-13 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| | * | Describe the default_namespace parameter of ElemetTree.write. | Serhiy Storchaka | 2013-01-13 | 1 | -2/+3 |
| | | | |||||
* | | | Cleanup the docs ElementTree a bit and describe the default_namespace ↵ | Eli Bendersky | 2013-01-13 | 1 | -14/+14 |
| | | | | | | | | | | | | 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 | -11/+20 |
| | | | | | | | | | | | | | | | | | | | | | serialization functions - short_empty_elements. It controls how elements without contents are emitted. Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 2 | -4/+4 |
|\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 2 | -4/+4 |
| |\ \ | | |/ | | | | | | | Patch by Serhiy Storchaka. |