Message74756
> Another tack is to notice that numbits is the length of the bit sequence
> representation of an int (excepting 0) and give ints a .__len__ method
> ;-). I would not expect that suggestion to fly very far, though.
FWIW, I'm one of the people who'd additionally find indexing and slicing
of the bits of integers very useful. It's not going to happen, though! |
|
Date |
User |
Action |
Args |
2008-10-14 17:19:18 | fredrikj | set | recipients:
+ fredrikj, loewis, rhettinger, terry.reedy, mark.dickinson, vstinner |
2008-10-14 17:19:18 | fredrikj | set | messageid: <1224004758.76.0.0886691401923.issue3439@psf.upfronthosting.co.za> |
2008-10-14 17:19:18 | fredrikj | link | issue3439 messages |
2008-10-14 17:19:17 | fredrikj | create | |
|