<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_elementtree.c, branch 2.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_elementtree.c?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_elementtree.c?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-10-26T05:37:07Z</updated>
<entry>
<title>[2.7] Fix error handling bugs in _elementtree.c. (GH-10060) (GH-10080)</title>
<updated>2018-10-26T05:37:07Z</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-10-26T05:37:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e131c7cf7893cdddc74caba2ca649b600dc6760b'/>
<id>urn:sha1:e131c7cf7893cdddc74caba2ca649b600dc6760b</id>
<content type='text'>
Don't leak a reference if PyDict_Update() fails, check the
PyList_New() call in treebuilder_new(), and properly handle failures
in xmlparser().

(cherry picked from commit 9f3ed3e213b30059087d059a7d1d3b2527fa8654)</content>
</entry>
<entry>
<title>[2.7] bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) (GH-9394)</title>
<updated>2018-09-18T13:13:09Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2018-09-18T13:13:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18b20bad75b4ff0486940fba4ec680e96e70f3a2'/>
<id>urn:sha1:18b20bad75b4ff0486940fba4ec680e96e70f3a2</id>
<content type='text'>
The C accelerated _elementtree module now initializes hash randomization
salt from _Py_HashSecret instead of libexpat's default CPRNG.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

https://bugs.python.org/issue34623.
(cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;



https://bugs.python.org/issue34623</content>
</entry>
<entry>
<title>[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)</title>
<updated>2018-07-31T06:09:36Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-07-31T06:09:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48c8bf21f97aeb124dbd48bf2bdec1ab4ebc5202'/>
<id>urn:sha1:48c8bf21f97aeb124dbd48bf2bdec1ab4ebc5202</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31544: Fix a reference leak to 'self' after the previous target error handling fixes. (GH-6318)</title>
<updated>2018-03-31T12:23:30Z</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2018-03-31T12:23:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c498cd8bf81fc47acf2f1f702e8b3bc9bd4aed65'/>
<id>urn:sha1:c498cd8bf81fc47acf2f1f702e8b3bc9bd4aed65</id>
<content type='text'>
This change generally splits the xmlparser creation code into an unsafe part with "rollback" error handling and a safe "object initialisation done" part with normal decref cleanup.
</content>
</entry>
<entry>
<title>bpo-31544: Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. (GH-3992)</title>
<updated>2018-03-24T05:56:41Z</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2018-03-24T05:56:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0694b6a651ba2a53f6323ffb3b23358f43885815'/>
<id>urn:sha1:0694b6a651ba2a53f6323ffb3b23358f43885815</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[2.7] bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (GH-3924) (#3950)</title>
<updated>2017-10-11T13:29:12Z</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-10-11T13:29:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f15058a697de12b0efe6c7ebc38fe61a993bb5d5'/>
<id>urn:sha1:f15058a697de12b0efe6c7ebc38fe61a993bb5d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)</title>
<updated>2017-09-14T04:20:29Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-09-14T04:20:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a72d15c97f9837f6c9c6bd476a62175c942cc588'/>
<id>urn:sha1:a72d15c97f9837f6c9c6bd476a62175c942cc588</id>
<content type='text'>
This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.</content>
</entry>
<entry>
<title>bpo-30615: Fix the leak reference in Modules/_elementtree.c (#2129)</title>
<updated>2017-06-12T13:30:48Z</updated>
<author>
<name>Stéphane Wirtel</name>
<email>stephane@wirtel.be</email>
</author>
<published>2017-06-12T13:30:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41af942e57f9a450cf273ef6b72a21380c6ba8d1'/>
<id>urn:sha1:41af942e57f9a450cf273ef6b72a21380c6ba8d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30365: Backport warnings and fix bugs in ElementTree. (#1581)</title>
<updated>2017-05-17T07:08:11Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-05-17T07:08:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=09b52471f39ba280d836b945d47719c697af0b45'/>
<id>urn:sha1:09b52471f39ba280d836b945d47719c697af0b45</id>
<content type='text'>
Running Python with the -3 option now emits deprecation warnings for
getchildren() and getiterator() methods of the Element class in the
xml.etree.cElementTree module and when pass the html argument to
xml.etree.ElementTree.XMLParser().

Fixed a deprecation warning about the doctype() method of the
xml.etree.ElementTree.XMLParser class.  Now it is emitted only when
define the doctype() method in the subclass of XMLParser.

Fixed a bug in the test_bug_200708_close test method.  An EchoTarget
instance was incorrectly passed to XMLParser() as the html argument and
silently ignored.

Tests no longer failed when use the -m option for running only selected
test methods. Checking warnings now is more specific, warnings are
expected only when use deprecated features.</content>
</entry>
<entry>
<title>bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154)</title>
<updated>2017-04-15T17:11:12Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-15T17:11:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e79321742cb3af2184d22e2148c6756cade1864'/>
<id>urn:sha1:5e79321742cb3af2184d22e2148c6756cade1864</id>
<content type='text'>
PySlice_GetIndicesEx in _ctypes.c.
</content>
</entry>
</feed>
