Message368451
This isn't doing what you think. Because you throw away the object after computing its id, the same memory is reused and you get the same id. Consider:
>>> a = [1,2,3]
>>> b = [3,4,5]
>>> id(a[:]) == id(b[:])
True
There's no problem here, but it does show that you need to be careful with "is" and "id". |
|
Date |
User |
Action |
Args |
2020-05-08 16:21:11 | eric.smith | set | recipients:
+ eric.smith, ihalil95 |
2020-05-08 16:21:11 | eric.smith | set | messageid: <1588954871.73.0.548403330608.issue40565@roundup.psfhosted.org> |
2020-05-08 16:21:11 | eric.smith | link | issue40565 messages |
2020-05-08 16:21:11 | eric.smith | create | |
|