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 <>
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.
Date User Action Args
2016-01-29 11:08:51serhiy.storchakasetrecipients: + serhiy.storchaka, josh.r, squidevil
2016-01-29 11:08:51serhiy.storchakasetmessageid: <>
2016-01-29 11:08:51serhiy.storchakalinkissue26168 messages
2016-01-29 11:08:50serhiy.storchakacreate