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, serhiy.storchaka, squidevil
Date 2016-01-29.11:08:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454065731.08.0.951670548261.issue26168@psf.upfronthosting.co.za>
In-reply-to
Content
Current code already decref obj if creating previous argument is failed. But a leak if PyTuple_New() fails is possible.

Proposed patch fixes this leak and adds a test for the case when creating previous argument is failed. Testing the failure of PyTuple_New() is problematic.
History
Date User Action Args
2016-01-29 11:08:51serhiy.storchakasetrecipients: + serhiy.storchaka, josh.r, squidevil
2016-01-29 11:08:51serhiy.storchakasetmessageid: <1454065731.08.0.951670548261.issue26168@psf.upfronthosting.co.za>
2016-01-29 11:08:51serhiy.storchakalinkissue26168 messages
2016-01-29 11:08:50serhiy.storchakacreate