This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients josh.r, martin.panter, mwh, rhettinger, serhiy.storchaka, shredwheat, squidevil
Date 2016-05-15.12:52:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463316720.94.0.974904194751.issue26168@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not happy with pybuildvalue_leak3.patch. For failed keys it saves values with the same key (None). This means that old value can be deallocated before the end of building all dict.

Following patch collects all values after error in a tuple. This not only fixes the issue with building dict, but makes the code for building tuple, list and dict cleaner. It no longer contains the code for processing after error, it is moved in separate function.
History
Date User Action Args
2016-05-15 12:52:00serhiy.storchakasetrecipients: + serhiy.storchaka, mwh, rhettinger, shredwheat, martin.panter, josh.r, squidevil
2016-05-15 12:52:00serhiy.storchakasetmessageid: <1463316720.94.0.974904194751.issue26168@psf.upfronthosting.co.za>
2016-05-15 12:52:00serhiy.storchakalinkissue26168 messages
2016-05-15 12:52:00serhiy.storchakacreate