Message261620
There is not 'integer caching in Python'. This is strictly an implementation feature of CPython, and any other implementation that does similarly.
"or id(x) == id(y)" should be "(id(x) == id(y))" as the addition is an alternate wording, not an alternate condition. I am not sure that this will always be helpful. |
|
Date |
User |
Action |
Args |
2016-03-11 23:58:27 | terry.reedy | set | recipients:
+ terry.reedy, docs@python, Mike Vertolli |
2016-03-11 23:58:27 | terry.reedy | set | messageid: <1457740707.74.0.444122607519.issue26511@psf.upfronthosting.co.za> |
2016-03-11 23:58:27 | terry.reedy | link | issue26511 messages |
2016-03-11 23:58:27 | terry.reedy | create | |
|