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 vstinner
Recipients asvetlov, qualab, vstinner
Date 2014-01-29.10:27:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390991274.35.0.14727984347.issue20434@psf.upfronthosting.co.za>
In-reply-to
Content
Ah yes, the bytes object is set to NULL. In fact, you don't need to call Py_CLEAR(&retval) in case of error, because retval is already NULL. Could you please update your patch to just do nothing on retval in case of error please?

> 3.4 hasn't the problem.

Yes, I played some weeks with pyfailmalloc, a new tool for Python 3.4 to inject random MemoryError errors. I fixed many other different issues.
History
Date User Action Args
2014-01-29 10:27:54vstinnersetrecipients: + vstinner, asvetlov, qualab
2014-01-29 10:27:54vstinnersetmessageid: <1390991274.35.0.14727984347.issue20434@psf.upfronthosting.co.za>
2014-01-29 10:27:54vstinnerlinkissue20434 messages
2014-01-29 10:27:54vstinnercreate