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 <>
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)
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: <>
2014-06-24 04:11:20anonlinkissue19915 messages
2014-06-24 04:11:20anoncreate