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 gregory.p.smith
Recipients brett.cannon, eric.smith, eric.snow, gregory.p.smith, jcea, ncoghlan, python-dev, twouters
Date 2012-04-19.00:07:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334794079.48.0.980721694135.issue14331@psf.upfronthosting.co.za>
In-reply-to
Content
already fixed, I just manually returned NULL. :)

I suppose we could change PyErr_NoMemory's definition in 3.3 to return a "void *" instead of "PyObject *" but I'd rather not.  In this case the warning caused me to examine the code and determine if it was in fact intended to do the right Python exception raising thing when NULL was returned from this non Python C API function.  In this case it was, but not all code can assume that.
History
Date User Action Args
2012-04-19 00:07:59gregory.p.smithsetrecipients: + gregory.p.smith, twouters, brett.cannon, jcea, ncoghlan, eric.smith, python-dev, eric.snow
2012-04-19 00:07:59gregory.p.smithsetmessageid: <1334794079.48.0.980721694135.issue14331@psf.upfronthosting.co.za>
2012-04-19 00:07:58gregory.p.smithlinkissue14331 messages
2012-04-19 00:07:58gregory.p.smithcreate