Message288899
> This sentence isn't correct now that integers are always arbitrary length.
It's not really clear what that line in the docs means for Python 2, either: if values x and y both fit in an int, then so do ~x, x|y and x&y. We already assume in the Python source that the underlying representation is two's complement (no padding bits, no trap representation, etc.), so there aren't any complications from platforms where the C representation is ones' complement or sign-magnitude. |
|
Date |
User |
Action |
Args |
2017-03-03 15:58:44 | mark.dickinson | set | recipients:
+ mark.dickinson, ncoghlan, docs@python, wolma, CuriousLearner |
2017-03-03 15:58:44 | mark.dickinson | set | messageid: <1488556724.94.0.529955057417.issue29710@psf.upfronthosting.co.za> |
2017-03-03 15:58:44 | mark.dickinson | link | issue29710 messages |
2017-03-03 15:58:44 | mark.dickinson | create | |
|