This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fredrikj
Recipients fredrikj, loewis, mark.dickinson, rhettinger, terry.reedy, vstinner
Date 2008-11-12.00:02:50
SpamBayes Score 1.0681887e-07
Marked as misclassified No
Message-id <>
In stdtypes.rst, x.numbits should be listed in the table under
"Bit-string Operations on Integer Types" and not in the table of
operations supported by all numeric types.

> (1) the number of bits should be computed first directly using C 
> arithmetic, and only recomputed using PyLong arithmetic if the C 
> computations overflow.


> (4) I quite like the idea of having numbits be a property rather than a 
> method---might still be worth considering?

I'm not against.
Date User Action Args
2008-11-12 00:02:51fredrikjsetrecipients: + fredrikj, loewis, rhettinger, terry.reedy, mark.dickinson, vstinner
2008-11-12 00:02:51fredrikjsetmessageid: <>
2008-11-12 00:02:50fredrikjlinkissue3439 messages
2008-11-12 00:02:50fredrikjcreate