[issue33632] undefined behaviour: signed integer overflow in threadmodule.c

STINNER Victor report at bugs.python.org
Thu May 24 07:18:39 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

> Modules/_threadmodule.c:52:47: runtime error: signed integer overflow: 2387971499048 + 9223372036000000000 cannot be represented in type 'long'

How do you reproduce the issue? The thread module should limit the maximum timeout to PY_TIMEOUT_MAX. Maybe PY_TIMEOUT_MAX is too big?

----------
nosy: +vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33632>
_______________________________________


More information about the Python-bugs-list mailing list