Message228167
Above I included a first attempt however I don't think my code is good and I couldn't figure out the case for negative integers. There's some discussion above about its inclusion.
I like your x.bits suggestion actually, assuming x.bits returns an IntBitsView object without copying x in any way. That would suggest that we could do len(x.bits) and probably depreciate x.bit_length(). Any consensus on this? |
|
Date |
User |
Action |
Args |
2014-10-02 06:55:11 | anon | set | recipients:
+ anon, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, meador.inge, martin.panter, serhiy.storchaka, hct, josh.r |
2014-10-02 06:55:11 | anon | set | messageid: <1412232911.06.0.27152748555.issue19915@psf.upfronthosting.co.za> |
2014-10-02 06:55:11 | anon | link | issue19915 messages |
2014-10-02 06:55:10 | anon | create | |
|