This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients fredrikj, loewis, mark.dickinson, pitrou, rhettinger, terry.reedy, vstinner
Date 2008-12-16.14:53:56
SpamBayes Score 2.8965116e-05
Marked as misclassified No
Message-id <>
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:57vstinnersetrecipients: + vstinner, loewis, rhettinger, terry.reedy, mark.dickinson, pitrou, fredrikj
2008-12-16 14:53:57vstinnersetmessageid: <>
2008-12-16 14:53:56vstinnerlinkissue3439 messages
2008-12-16 14:53:56vstinnercreate