Message217820
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:55 | scoder | set | recipients:
+ scoder, mark.dickinson, pitrou, vstinner, serhiy.storchaka, josh.r |
2014-05-03 10:17:54 | scoder | set | messageid: <1399112274.95.0.00736976831683.issue21420@psf.upfronthosting.co.za> |
2014-05-03 10:17:54 | scoder | link | issue21420 messages |
2014-05-03 10:17:54 | scoder | create | |
|