Serhiy Storchaka added the comment:

I'm fine with both variants: (LONG_MAX >> PyLong_SHIFT) >> PyLong_SHIFT and 
SIZEOF_LONG*CHAR_BIT-1 >= 2*PyLong_SHIFT (the latter can be simplified to 
8*SIZEOF_LONG > 2*PyLong_SHIFT). A comment on the next line explains the 
condition, it can be extended if needed. I'm fine with Victor's patch too.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24999>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to