Message301090
> It makes sure that you get a single object in memory for the same integer, and not only for Python "small integer singletons"?
Yes.
> About the -1000..1000 range: if a function leaks more than 1 memory block or more than 1 reference, there is already something wrong no?
Well, the current code can still hide it, for example if a function leaks [1000, 0, 1000, 1000, 1000] references, the code says it's ok. |
|
Date |
User |
Action |
Args |
2017-09-01 09:18:26 | pitrou | set | recipients:
+ pitrou, brett.cannon, vstinner, zach.ware |
2017-09-01 09:18:26 | pitrou | set | messageid: <1504257506.84.0.652999601549.issue31217@psf.upfronthosting.co.za> |
2017-09-01 09:18:26 | pitrou | link | issue31217 messages |
2017-09-01 09:18:26 | pitrou | create | |
|