Message301072
leak2.py: script based on my leak.py and Antoine's test_haypoleak.py.
If you replace "if 0:" with "if 1:", it seems like the test doesn't anymore.
It seems like the "leak" is the call to sys.getallocatedblocks() which creates a new integer, and the integer is kept alive between two loop iterations.
Maybe I missed something. |
|
| Date |
User |
Action |
Args |
| 2017-08-31 22:55:11 | vstinner | set | recipients:
+ vstinner, brett.cannon, pitrou, zach.ware |
| 2017-08-31 22:55:11 | vstinner | set | messageid: <[email protected]> |
| 2017-08-31 22:55:11 | vstinner | link | issue31217 messages |
| 2017-08-31 22:55:11 | vstinner | create | |
|