]> granicus.if.org Git - python/commit
bpo-31544: Fix a reference leak to 'self' after the previous target error handling...
authorscoder <stefan_ml@behnel.de>
Sat, 31 Mar 2018 12:23:30 +0000 (14:23 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 31 Mar 2018 12:23:30 +0000 (15:23 +0300)
commitc498cd8bf81fc47acf2f1f702e8b3bc9bd4aed65
tree3770fd474dadbe3d397407c869f58bf6fa15fac2
parent7f48a426fc69d144d4242517ef40eff01c1fd483
bpo-31544: Fix a reference leak to 'self' after the previous target error handling fixes. (GH-6318)

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.
Misc/NEWS.d/next/Library/2017-09-13-19-55-35.bpo-31455.beTh6t.rst [new file with mode: 0644]
Modules/_elementtree.c