Fredrik Johansson <[EMAIL PROTECTED]> added the comment: 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. +1 > (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. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3439> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com