Author scoder
Recipients josh.r, mark.dickinson, pitrou, scoder, serhiy.storchaka, vstinner
Date 2014-05-03.10:17:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
LGTM, can't see a case where this might go wrong (errors and type checks are handled before the added code).

It also seems a sufficiently common case to optimise it internally. The 2**n spelling is easier to read and to get right than the shifting, so it's good to make both similarly fast to remove an excuse for micro optimisations in Python code.
Date User Action Args
2014-05-03 10:17:55scodersetrecipients: + scoder, mark.dickinson, pitrou, vstinner, serhiy.storchaka, josh.r
2014-05-03 10:17:54scodersetmessageid: <>
2014-05-03 10:17:54scoderlinkissue21420 messages
2014-05-03 10:17:54scodercreate