[issue25999] Add support of native number in bin()

Serhiy Storchaka report at bugs.python.org
Sun Jan 3 07:16:06 EST 2016


Serhiy Storchaka added the comment:

Use bin(n & (2**bitsize-1)).

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list