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.dickinson, niklasf
Date 2017-03-22.20:22:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490214148.51.0.929006049782.issue29882@psf.upfronthosting.co.za>
In-reply-to
Content
Can you give some examples of concrete use-cases? I've spent the last six years or so writing scientific applications and parsing all sorts of odd binary formats, and haven't needed or wanted a popcount yet.

> (I am not a fan of the arbitrary return value).

Agreed: if this were implemented, I think raising ValueError would be the most appropriate thing to do for negative inputs.
History
Date User Action Args
2017-03-22 20:22:28mark.dickinsonsetrecipients: + mark.dickinson, Jim Fasarakis-Hilliard, niklasf
2017-03-22 20:22:28mark.dickinsonsetmessageid: <1490214148.51.0.929006049782.issue29882@psf.upfronthosting.co.za>
2017-03-22 20:22:28mark.dickinsonlinkissue29882 messages
2017-03-22 20:22:28mark.dickinsoncreate