[issue3439] math.frexp and obtaining the bit size of a large integer

Fredrik Johansson report at bugs.python.org
Mon Aug 18 22:41:41 CEST 2008


Fredrik Johansson <fredrik.johansson at gmail.com> added the comment:

Wow, newbie error. Thanks for spotting!

In every case I can think of, I've wanted (0).numbits() to be 0. The
explanation in the docstring can probably be improved. What other
documentation is needed (where)?

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


More information about the Python-bugs-list mailing list