[issue14331] Python/import.c uses a lot of stack space due to MAXPATHLEN
Gregory P. Smith
report at bugs.python.org
Thu Apr 19 02:07:59 CEST 2012
Gregory P. Smith <greg at krypto.org> added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14331>
_______________________________________
More information about the Python-bugs-list
mailing list