[issue24999] Segfault in test_re.test_sre_character_class_literals() when Python is compiled by ICC

STINNER Victor report at bugs.python.org
Fri Sep 4 17:36:47 CEST 2015


STINNER Victor added the comment:

> We test that signed long is enough to contain 2 digits. May be it should be written as LONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT.

Ok, but I don't understand "if <operations on integers>". Does it mean "if <operations on integers> != 0"?

Maybe we can use SIZEOF_LONG instead of LONG_MAX?

----------

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


More information about the Python-bugs-list mailing list