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 martin.panter
Recipients CuriousLearner, docs@python, mark.dickinson, martin.panter, ncoghlan, tim.peters, wolma
Date 2017-12-02.22:26:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512253561.17.0.213398074469.issue29710@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW I find Mark’s suggestion pretty good:

“Each bitwise operation has the same result as though carried out in two's complement using a bit-width that's large enough to represent the inputs.”
History
Date User Action Args
2017-12-02 22:26:01martin.pantersetrecipients: + martin.panter, tim.peters, mark.dickinson, ncoghlan, docs@python, wolma, CuriousLearner
2017-12-02 22:26:01martin.pantersetmessageid: <1512253561.17.0.213398074469.issue29710@psf.upfronthosting.co.za>
2017-12-02 22:26:01martin.panterlinkissue29710 messages
2017-12-02 22:26:01martin.pantercreate