[issue16404] Uses of PyLong_FromLong that don't check for errors

Serhiy Storchaka report at bugs.python.org
Sat Nov 30 16:16:50 CET 2013


Serhiy Storchaka added the comment:

Here is a patch. arraymodule.c is already fixed. Instead I found other bug in sysmodule.c. I'm not sure about extending.rst, PyLong_FromLong(0L) should never fail if NSMALLNEGINTS + NSMALLPOSINTS > 0.

----------
keywords: +patch
stage: needs patch -> patch review
versions:  -Python 3.2
Added file: http://bugs.python.org/file32908/issue16404.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16404>
_______________________________________


More information about the Python-bugs-list mailing list