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, meador.inge, pitrou, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2014-06-24.04:11:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403583080.73.0.145074201348.issue19915@psf.upfronthosting.co.za>
In-reply-to
Content
I think the case where i is negative can be handled by

bits_at(i, pos, width) = bits_at(~i, pos, width) ^ ((1 << width) - 1)
History
Date User Action Args
2014-06-24 04:11:20anonsetrecipients: + anon, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, meador.inge, serhiy.storchaka, hct, josh.r
2014-06-24 04:11:20anonsetmessageid: <1403583080.73.0.145074201348.issue19915@psf.upfronthosting.co.za>
2014-06-24 04:11:20anonlinkissue19915 messages
2014-06-24 04:11:20anoncreate