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 mark.dickinson
Recipients Jim Fasarakis-Hilliard, Mark.Shannon, casevh, gbtami, mark.dickinson, niklasf, njs, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2020-05-31.13:27:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590931663.66.0.259326315815.issue29882@roundup.psfhosted.org>
In-reply-to
Content
> Why are calling a population count method "bit_count()"?

Naming things is hard, but I don't think this is an unreasonable name, and it's not without precedent. Java similarly has Integer.bitCount and BigInteger.bitCount. MySQL has BIT_COUNT.
History
Date User Action Args
2020-05-31 13:27:43mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, vstinner, casevh, njs, Mark.Shannon, serhiy.storchaka, Jim Fasarakis-Hilliard, niklasf, gbtami
2020-05-31 13:27:43mark.dickinsonsetmessageid: <1590931663.66.0.259326315815.issue29882@roundup.psfhosted.org>
2020-05-31 13:27:43mark.dickinsonlinkissue29882 messages
2020-05-31 13:27:43mark.dickinsoncreate