homepage

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 <1229165618.52.0.84946910742.issue3439@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2008年12月13日 10:53:38rhettingersetrecipients: + rhettinger, loewis, terry.reedy, mark.dickinson, vstinner, fredrikj
2008年12月13日 10:53:38rhettingersetmessageid: <1229165618.52.0.84946910742.issue3439@psf.upfronthosting.co.za>
2008年12月13日 10:53:22rhettingerlinkissue3439 messages
2008年12月13日 10:53:22rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /