Mark Dickinson added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29882> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com