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 rhettinger
Recipients fredrikj, loewis, mark.dickinson, rhettinger, terry.reedy, vstinner
Date 2008-12-13.10:53:22
SpamBayes Score 5.7441248e-05
Marked as misclassified No
Message-id <>
It was probably true.  The issue is how well the words self-separate
visually and whether an underscore would create a detrimental mental
pause.  So fromkeys() and fromhex() read fine and would feel awkward
with an underscore.  But bitlength causes me a mental double-take when
my mind searches for the word separation.  It that case, PEP 8 suggests
that an underscore be added for clarity.  This is probably why
Mathematica chose BitLength in titlecase instead of Bitlength.  Logic
aside, bit_length() just looks and feels better to me.

Did you look at the O(lg n) algorithm yet?  Any thoughts?
Date User Action Args
2008-12-13 10:53:38rhettingersetrecipients: + rhettinger, loewis, terry.reedy, mark.dickinson, vstinner, fredrikj
2008-12-13 10:53:38rhettingersetmessageid: <>
2008-12-13 10:53:22rhettingerlinkissue3439 messages
2008-12-13 10:53:22rhettingercreate