Message77913
Please don't promote this ugly code "len(bin(x).lstrip('-0b'))". It's
not the best way to compute the number of bits... I prefer fredrikj's
proposition (with // 2, few people understand >> 1). |
|
Date |
User |
Action |
Args |
2008-12-16 14:53:57 | vstinner | set | recipients:
+ vstinner, loewis, rhettinger, terry.reedy, mark.dickinson, pitrou, fredrikj |
2008-12-16 14:53:57 | vstinner | set | messageid: <1229439237.61.0.501652826669.issue3439@psf.upfronthosting.co.za> |
2008-12-16 14:53:56 | vstinner | link | issue3439 messages |
2008-12-16 14:53:56 | vstinner | create | |
|