Message75770
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. |
|
Date |
User |
Action |
Args |
2008-11-12 00:02:51 | fredrikj | set | recipients:
+ fredrikj, loewis, rhettinger, terry.reedy, mark.dickinson, vstinner |
2008-11-12 00:02:51 | fredrikj | set | messageid: <1226448171.22.0.178245277672.issue3439@psf.upfronthosting.co.za> |
2008-11-12 00:02:50 | fredrikj | link | issue3439 messages |
2008-11-12 00:02:50 | fredrikj | create | |
|