Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								ced1226cce 
								
							 
						 
						
							
							
								
								(3.3->default):  #18480 : Add missing PyType_Ready call to _elementtree extension  
							
							
							
						 
						
							2013-07-19 11:14:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								138d080a28 
								
							 
						 
						
							
							
								
								#18480 : Add missing PyType_Ready call to _elementtree extension  
							
							
							
						 
						
							2013-07-19 11:11:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								3fd8cbd5e4 
								
							 
						 
						
							
							
								
								Issue  #18408 : Fix _elementtree.c, don't call Python function from an expat  
							
							... 
							
							
							
							handler if a Python exception is set 
							
						 
						
							2013-07-18 22:46:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								d917dcbe5e 
								
							 
						 
						
							
							
								
								Issue  #18408 : Fix constructors of _elementtree.c  
							
							... 
							
							
							
							* Use Py_DECREF() instead of PyObject_GC_Del() to release correctly all
  resources
* Raise MemoryError on memory allocation failure 
							
						 
						
							2013-07-12 02:05:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								81aac734e1 
								
							 
						 
						
							
							
								
								Issue  #18408 : Fix create_extra() of _elementtree.c, raise MemoryError on memory  
							
							... 
							
							
							
							allocation failure 
							
						 
						
							2013-07-12 02:03:34 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								71c8b7ec04 
								
							 
						 
						
							
							
								
								Issue  #18408 : Different fixes in _elementtree.c to handle correctly MemoryError  
							
							... 
							
							
							
							* create_new_element() initializes all attributes before handling errors,
   to fix a crash in the destructor
* create_new_element() calls PyObject_GC_Del() on error, instead of
  PyObject_Del(), because the object was created by PyObject_GC_New()
* subelement() now handles create_new_element() failure
* element_getattro() now handles element_get_text() failure
* makeuniversal() now handles PyBytes_FromStringAndSize() failure 
							
						 
						
							2013-07-11 23:08:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4d46343340 
								
							 
						 
						
							
							
								
								Cleanup _elementtree.c  
							
							
							
						 
						
							2013-07-11 23:05:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5f0af23f5e 
								
							 
						 
						
							
							
								
								Issue  #18408 : _elementtree.c now handles create_extra() failure  
							
							
							
						 
						
							2013-07-11 23:01:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								6dc32b34dd 
								
							 
						 
						
							
							
								
								Issue  #13612 : handle unknown encodings without a buffer overflow.  
							
							... 
							
							
							
							This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka. 
							
						 
						
							2013-05-25 05:25:48 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								66d53fa9ad 
								
							 
						 
						
							
							
								
								Issue  #16986 : ElementTree now correctly parses a string input not only when  
							
							... 
							
							
							
							an internal XML encoding is UTF-8 or US-ASCII. 
							
						 
						
							2013-05-22 17:07:51 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								6a55dc3b4a 
								
							 
						 
						
							
							
								
								Issue  #17989 : fix typo in error message  
							
							
							
						 
						
							2013-05-19 16:59:59 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								08231a9c6a 
								
							 
						 
						
							
							
								
								Issue  #17901 : fix TreeBuilder construction for an explicit element_factory=None  
							
							... 
							
							
							
							Based on report and patch by Aaron Oakley. 
							
						 
						
							2013-05-18 15:47:16 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								ef9683b73f 
								
							 
						 
						
							
							
								
								Issue  #17989 : element_setattro returned incorrect error value.  
							
							... 
							
							
							
							This caused an exception to be raised later than expected. 
							
						 
						
							2013-05-18 07:52:34 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								7b3022f24f 
								
							 
						 
						
							
							
								
								Issue  #13612 : handle unknown encodings without a buffer overflow.  
							
							... 
							
							
							
							This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka. 
							
						 
						
							2013-05-25 05:27:10 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								447b6e3c6e 
								
							 
						 
						
							
							
								
								Issue  #16986 : ElementTree now correctly parses a string input not only when  
							
							... 
							
							
							
							an internal XML encoding is UTF-8 or US-ASCII. 
							
						 
						
							2013-05-22 17:21:06 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								a369923cab 
								
							 
						 
						
							
							
								
								Get rid of ugly code duplication for ElementTree.parse when the accelerator  
							
							... 
							
							
							
							is imported. Instead, ElementTree.parse can look for a special internal method
defined by the accelerator. 
							
						 
						
							2013-05-19 18:47:23 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								3a36756ba1 
								
							 
						 
						
							
							
								
								Issue  #17989 : fix typo in error message  
							
							
							
						 
						
							2013-05-19 17:00:28 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								3a4fbd8241 
								
							 
						 
						
							
							
								
								_elementtree.XMLParser._setevents should support any sequence, not just tuples  
							
							... 
							
							
							
							Also clean up some code around this 
							
						 
						
							2013-05-19 09:01:49 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								20c1cdd64a 
								
							 
						 
						
							
							
								
								Issue  #17901 : fix TreeBuilder construction for an explicit element_factory=None  
							
							... 
							
							
							
							Based on report and patch by Aaron Oakley. 
							
						 
						
							2013-05-18 15:47:58 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								1a8c3e247a 
								
							 
						 
						
							
							
								
								Issue  #17989 : element_setattro returned incorrect error value.  
							
							... 
							
							
							
							This caused an exception to be raised later than expected. 
							
						 
						
							2013-05-18 07:53:47 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								45f3d2fff0 
								
							 
						 
						
							
							
								
								Revert c9674421d78e, leaving an additional comment  
							
							
							
						 
						
							2013-04-24 05:34:07 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								1859fe80c4 
								
							 
						 
						
							
							
								
								Simplify the code of get_attrib_from_keywords somewhat.  
							
							
							
						 
						
							2013-04-22 05:52:16 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								ed8b86d323 
								
							 
						 
						
							
							
								
								Issue  #17736 : fix misleading comment in _elementtree.c  
							
							... 
							
							
							
							Patch by Jonas Wagner 
							
						 
						
							2013-04-22 05:29:09 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								d4cb4b7451 
								
							 
						 
						
							
							
								
								Issue  #17736 : fix misleading comment in _elementtree.c  
							
							... 
							
							
							
							Patch by Jonas Wagner 
							
						 
						
							2013-04-22 05:25:25 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								ddcc6798f6 
								
							 
						 
						
							
							
								
								Remove useless #define and #ifdefs  
							
							
							
						 
						
							2013-04-20 06:36:43 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								bf05df2396 
								
							 
						 
						
							
							
								
								Make license notices more consistent and remove old changelog.  
							
							... 
							
							
							
							Also remove unused macro. 
							
						 
						
							2013-04-20 05:44:01 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								25771b3749 
								
							 
						 
						
							
							
								
								Issue  #16922 : fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2013-01-13 05:26:07 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								4583990143 
								
							 
						 
						
							
							
								
								Clean trailing whitespace in _elementtree.c  
							
							
							
						 
						
							2013-01-13 05:14:47 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								799e3edaf7 
								
							 
						 
						
							
							
								
								Issue  #16076 : check for return value of PyTuple_New for args (following  
							
							... 
							
							
							
							Coverity report) and cleanup code. 
							
						 
						
							2013-01-12 05:42:38 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								b8f6dc855c 
								
							 
						 
						
							
							
								
								Issue  #16076 : fix refleak in pickling of Element.  
							
							... 
							
							
							
							Thanks to Ezio Melotti and Daniel Shahaf for the patch. 
							
						 
						
							2013-01-12 05:20:16 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								e6174ca85e 
								
							 
						 
						
							
							
								
								Issue  #16913 : Fix Element.itertext()'s handling of text with XML entities.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka 
							
						 
						
							2013-01-10 06:27:53 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								698bdb2a6c 
								
							 
						 
						
							
							
								
								Issue  #16076 : make _elementtree.Element pickle-able in a way that is compatible  
							
							... 
							
							
							
							with the Python version of the class.
Patch by Daniel Shahaf. 
							
						 
						
							2013-01-10 06:01:06 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								a873690d2c 
								
							 
						 
						
							
							
								
								The get() and iter() are now able to accept keyword arguments.  
							
							... 
							
							
							
							In conformance with the documentation and the Python version.
Patch by Franck Michea. 
							
						 
						
							2013-01-05 06:26:39 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								ee329318db 
								
							 
						 
						
							
							
								
								Issue  #16089 : Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL).  
							
							
							
						 
						
							2012-10-04 19:53:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								c194884983 
								
							 
						 
						
							
							
								
								Sanitize and modernize some of the _elementtree code (see issue  #16089 ).  
							
							
							
						 
						
							2012-10-01 23:40:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								ca8aa4acf6 
								
							 
						 
						
							
							
								
								Issue  #15144 : Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-09-20 20:56:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								7b31b1a2a4 
								
							 
						 
						
							
							
								
								Raise ImportError if pyexpat's version is incompatible  
							
							
							
						 
						
							2012-07-21 20:32:39 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								ef391ac982 
								
							 
						 
						
							
							
								
								Raise ImportError if pyexpat's version is incompatible  
							
							
							
						 
						
							2012-07-21 20:28:46 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								b48ff7fdda 
								
							 
						 
						
							
							
								
								Merge for  #14988  
							
							
							
						 
						
							2012-07-17 14:25:14 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								66099b0cdc 
								
							 
						 
						
							
							
								
								ISsue  #14988 : restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError  
							
							
							
						 
						
							2012-07-17 14:20:38 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								bce166681c 
								
							 
						 
						
							
							
								
								Issue  #14055 : Add __sizeof__ support to _elementtree.  
							
							
							
						 
						
							2012-06-17 10:41:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								113da64259 
								
							 
						 
						
							
							
								
								Fix windows compilation problems caused by previous commit.  
							
							
							
						 
						
							2012-06-15 07:52:49 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								64d11e60f2 
								
							 
						 
						
							
							
								
								Replace the iter/itertext methods of Element in _elementtree with true C implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents.  
							
							... 
							
							
							
							Also reorganized the tests a bit to be more robust. 
							
						 
						
							2012-06-15 07:42:50 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								c68e1368b5 
								
							 
						 
						
							
							
								
								Fix unterminated keyword array passed to PyArg_ParseTupleAndKeywords  
							
							
							
						 
						
							2012-06-03 06:09:42 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								2b6b73e7e1 
								
							 
						 
						
							
							
								
								Issue  #14007 : implement doctype() method calling in XMLParser of _elementtree.  
							
							... 
							
							
							
							Includes exposing a doctype handler from expat through pyexpat. 
							
						 
						
							2012-06-01 11:32:34 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								20d4174b3d 
								
							 
						 
						
							
							
								
								We're always building _elementtree with USE_PYEXPAT_CAPI, so the #ifdefs in  
							
							... 
							
							
							
							the code are unnecessary. 
							
						 
						
							2012-06-01 09:48:37 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								52467b167e 
								
							 
						 
						
							
							
								
								Issue  #14007 : make XMLParser a real subclassable type exported from _elementtree. +cleanups  
							
							
							
						 
						
							2012-06-01 07:13:08 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								48d358ba86 
								
							 
						 
						
							
							
								
								Issue  #14007 : implemented the 'element_factory' feature of TreeBuilder in  
							
							... 
							
							
							
							_elementtree, with a test. 
							
						 
						
							2012-05-30 17:57:50 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								58d548dff1 
								
							 
						 
						
							
							
								
								Issue  #14007 : make TreeBuilder an actual type exposed from _elementtree, and subclassable.  
							
							
							
						 
						
							2012-05-29 15:45:16 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eli Bendersky 
								
							 
						 
						
							
							
							
							
								
							
							
								737b173355 
								
							 
						 
						
							
							
								
								Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.  
							
							... 
							
							
							
							Add attrib keyword to Element and SubElement in _elementtree.
Patch developed with Ezio Melotti. 
							
						 
						
							2012-05-29 06:02:56 +03:00