Message75770
| 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 |
<1226448171.22.0.178245277672.issue3439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|