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

Serhiy Storchaka report at bugs.python.org
Fri Sep 4 18:18:25 CEST 2015


Serhiy Storchaka added the comment:

Yes, it means "if <operations on integers> != 0".

The condition is equivalent to SIZEOF_LONG*CHAR_BIT-1 >= 2*PyLong_SHIFT on binary computers with two-complementarn two's-complement integers. But current form looks more natural to me.

----------

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


More information about the Python-bugs-list mailing list