[issue3439] create a numbits() method for int and long types

Mark Dickinson report at bugs.python.org
Sat Dec 13 15:55:49 CET 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Well, I don't think bit_length() warrants a specific test which will
> slow down the whole pybench suite.

Me neither.  It's a temporary patch to pybench, to establish whether it's 
worth applying optimizations to bit_length.  I didn't intend that it 
should be applied to the trunk.

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


More information about the Python-bugs-list mailing list