[docs] [issue29710] Incorrect representation caveat on bitwise operation docs
Nick Coghlan
report at bugs.python.org
Sat Mar 4 22:36:46 EST 2017
Nick Coghlan added the comment:
Added 2.7 to the list of affected versions.
Clearly my 2's-complement arithmetic is incredibly rusty, as for some reason I was thinking "~(-sys.maxint-1)" could overflow, but no, the answer to that is just "sys.maxint" :)
----------
versions: +Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29710>
_______________________________________
More information about the docs
mailing list