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 anon
Recipients anon, hct, josh.r, mark.dickinson, martin.panter, meador.inge, pitrou, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2014-10-02.06:55:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412232911.06.0.27152748555.issue19915@psf.upfronthosting.co.za>
In-reply-to
Content
Above I included a first attempt however I don't think my code is good and I couldn't figure out the case for negative integers. There's some discussion above about its inclusion.

I like your x.bits suggestion actually, assuming x.bits returns an IntBitsView object without copying x in any way. That would suggest that we could do len(x.bits) and probably depreciate x.bit_length(). Any consensus on this?
History
Date User Action Args
2014-10-02 06:55:11anonsetrecipients: + anon, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, meador.inge, martin.panter, serhiy.storchaka, hct, josh.r
2014-10-02 06:55:11anonsetmessageid: <1412232911.06.0.27152748555.issue19915@psf.upfronthosting.co.za>
2014-10-02 06:55:11anonlinkissue19915 messages
2014-10-02 06:55:10anoncreate