Author vstinner
Recipients Jim Fasarakis-Hilliard, casevh, gbtami, mark.dickinson, niklasf, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2020-05-25.14:46:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590418012.44.0.222776211352.issue29882@roundup.psfhosted.org>
In-reply-to
Content
Adding a function to a new hypothetical imath module sounds reasonable.

I'm less comfortable with adding a new method to int type: it would mean that any int subtype "should" implement it.

For example, should numpy.int64 get this method as well?

What is the effect on https://docs.python.org/3.9/library/numbers.html?

Does it make sense to call (True).popcount()?
History
Date User Action Args
2020-05-25 14:46:52vstinnersetrecipients: + vstinner, tim.peters, rhettinger, mark.dickinson, casevh, serhiy.storchaka, Jim Fasarakis-Hilliard, niklasf, gbtami
2020-05-25 14:46:52vstinnersetmessageid: <1590418012.44.0.222776211352.issue29882@roundup.psfhosted.org>
2020-05-25 14:46:52vstinnerlinkissue29882 messages
2020-05-25 14:46:52vstinnercreate