消息 [75770]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-11-12 00:02:51 | fredrikj | 修改 | recipients:
+ fredrikj, loewis, rhettinger, terry.reedy, mark.dickinson, vstinner |
| 2008-11-12 00:02:51 | fredrikj | 修改 | messageid: <1226448171.22.0.178245277672.issue3439@psf.upfronthosting.co.za> |
| 2008-11-12 00:02:50 | fredrikj | 链接 | issue3439 messages |
| 2008-11-12 00:02:50 | fredrikj | 创建 | |
|