Mark Dickinson added the comment:

-1 from me. Using `format(x % 2**8, '08b')` seems both short enough to be easy 
to use, and long enough to remind one that there's something a little bit 
unnatural going on here, given that two's complement isn't something that makes 
sense for arbitrary-sized integers.

----------
nosy: +eric.smith

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

Reply via email to