Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+14 | |
|\ \ | |/ | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | |||||
| * | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+14 | |
| | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | |||||
* | | Issue #25047: Merge Element Tree encoding from 3.4 into 3.5 | Martin Panter | 2015-09-23 | 1 | -7/+14 | |
|\ \ | |/ | ||||||
| * | Issue #25047: Respect case writing XML encoding declarations | Martin Panter | 2015-09-23 | 1 | -7/+14 | |
| | | | | | | | | | | This restores the ability to write encoding names in uppercase like "UTF-8", which worked in Python 2. | |||||
* | | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -0/+41 | |
|\ \ | |/ | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter. | |||||
| * | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -0/+41 | |
| | | | | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter. | |||||
* | | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -0/+122 | |
|\ \ | |/ | | | | | ElementTree. | |||||
| * | Issue #24091: Fixed various crashes in corner cases in C implementation of | Serhiy Storchaka | 2015-05-18 | 1 | -0/+122 | |
| | | | | | | | | ElementTree. | |||||
* | | Issue #22681: Added support for the koi8_t encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #22682: Added support for the kz1048 encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -1/+1 | |
|/ | ||||||
* | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -27/+30 | |
| | ||||||
* | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -0/+5 | |
|\ | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | |||||
| * | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -0/+5 | |
| | | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | |||||
* | | Issue #19668: Added support for the cp1125 encoding. | Serhiy Storchaka | 2013-11-23 | 1 | -3/+3 | |
| | | ||||||
* | | Close #18990: remove root attribute from XMLPullParser | Nick Coghlan | 2013-09-28 | 1 | -14/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) | |||||
* | | Merge for Issue #18997: Issue #18997: fix ElementTree crash with using ↵ | Eli Bendersky | 2013-09-13 | 1 | -0/+12 | |
|\ \ | |/ | | | | | pickle and __getstate__. | |||||
| * | Issue #18997: fix ElementTree crash with using pickle and __getstate__. | Eli Bendersky | 2013-09-13 | 1 | -0/+13 | |
| | | | | | | | | Based on report and initial patch from Germán M. Bravo | |||||
* | | Issue #17741: Rename IncrementalParser and its methods. | Eli Bendersky | 2013-08-30 | 1 | -26/+26 | |
| | | | | | | | | | | | | 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. | |||||
* | | Merge fix for Issue #17011 from 3.3 | Eli Bendersky | 2013-08-04 | 1 | -0/+14 | |
|\ \ | |/ | ||||||
| * | Issue #17011: Fix caching of xpath path when namespaces are present. | Eli Bendersky | 2013-08-04 | 1 | -0/+14 | |
| | | | | | | | | 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 | -0/+7 | |
|\ \ | |/ | | | | | closing tags. | |||||
| * | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 1 | -0/+7 | |
| | | | | | | | | closing tags. | |||||
* | | Clean-up duplicated code in tests | Eli Bendersky | 2013-05-25 | 1 | -46/+0 | |
|\ \ | |/ | ||||||
| * | Clean-up duplicated code in tests | Eli Bendersky | 2013-05-25 | 1 | -46/+0 | |
| | | ||||||
* | | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 1 | -0/+92 | |
|\ \ | |/ | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | |||||
| * | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 1 | -0/+92 | |
| | | | | | | | | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | |||||
* | | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 1 | -15/+30 | |
|\ \ | |/ | | | | | an internal XML encoding is UTF-8 or US-ASCII. | |||||
| * | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 1 | -15/+30 | |
| | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. | |||||
* | | Add some testing to verify which module was imported in ET tests. | Eli Bendersky | 2013-05-20 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | This is useful when mucking with import_fresh_module to either force or block importing of the _elementtree accelerator. These tests in place provide an immediate indication whether the accelerator was actually imported and overrode the classes it should have. | |||||
* | | Cleanup more old ET library leftovers | Eli Bendersky | 2013-05-19 | 1 | -11/+1 | |
| | | ||||||
* | | Issue #17988: remove unused alias for Element and rename the used one | Eli Bendersky | 2013-05-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | 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 | -0/+35 | |
| | | | | | | | | Also clean up some code around this | |||||
* | | Issue #17901: fix TreeBuilder construction for an explicit element_factory=None | Eli Bendersky | 2013-05-18 | 1 | -0/+6 | |
|\ \ | |/ | | | | | Based on report and patch by Aaron Oakley. | |||||
| * | Issue #17901: fix TreeBuilder construction for an explicit element_factory=None | Eli Bendersky | 2013-05-18 | 1 | -0/+6 | |
| | | | | | | | | Based on report and patch by Aaron Oakley. | |||||
* | | Issue #17741: Add ElementTree.IncrementalParser, an event-driven parser for ↵ | Antoine Pitrou | 2013-04-18 | 1 | -0/+130 | |
| | | | | | | | | non-blocking applications. | |||||
* | | Some cosmetic changes | Eli Bendersky | 2013-02-26 | 1 | -13/+9 | |
|\ \ | |/ | ||||||
| * | Some cosmetic changes | Eli Bendersky | 2013-02-26 | 1 | -13/+9 | |
| | | ||||||
* | | Issue #15083: Convert ElementTree doctests to unittests. | Serhiy Storchaka | 2013-02-25 | 1 | -1373/+1132 | |
|\ \ | |/ | ||||||
| * | Issue #15083: Convert ElementTree doctests to unittests. | Serhiy Storchaka | 2013-02-25 | 1 | -1373/+1132 | |
| | | ||||||
* | | Issue #9708: Fix support for iterparse(parser=...) argument per documentation. | Eli Bendersky | 2013-01-24 | 1 | -0/+6 | |
|\ \ | |/ | | | | | | | 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 | -0/+6 | |
| | | | | | | | | | | 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 | -0/+5 | |
| | | ||||||
* | | Add some tests for XPath numeric indexing | Eli Bendersky | 2013-01-22 | 1 | -0/+17 | |
|\ \ | |/ | ||||||
| * | Add some tests for XPath numeric indexing | Eli Bendersky | 2013-01-22 | 1 | -0/+17 | |
| | | ||||||
* | | Close #14377: Add a new parameter to ElementTree.write and some module-level | Eli Bendersky | 2013-01-13 | 1 | -0/+12 | |
|/ | | | | | | | serialization functions - short_empty_elements. It controls how elements without contents are emitted. Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak. | |||||
* | Issue #16922: fixed findtext() to return empty Unicode string instead of ↵ | Eli Bendersky | 2013-01-13 | 1 | -0/+3 | |
| | | | | | | empty bytes object when there's no text. Patch by Serhiy Storchaka. | |||||
* | clean trailing whitespace | Eli Bendersky | 2013-01-12 | 1 | -2/+2 | |
| | ||||||
* | Issues #15083 and #16992: port find.* method tests to unittest | Eli Bendersky | 2013-01-12 | 1 | -134/+94 | |
| | ||||||
* | Issue #16913: Fix Element.itertext()'s handling of text with XML entities. | Eli Bendersky | 2013-01-10 | 1 | -0/+4 | |
| | | | | Patch by Serhiy Storchaka | |||||
* | normalize whitespace | Eli Bendersky | 2013-01-10 | 1 | -1/+1 | |
| |