Message205173
contextmanager_leak2.py: even simpler example, storing a current frame in a local variable of the frame is enough.
generator_workaround.patch is another workaround: call frame.clear() when at generator exit to explicitly break the reference cycle. |
|
Date |
User |
Action |
Args |
2013-12-03 23:11:16 | vstinner | set | recipients:
+ vstinner, pitrou |
2013-12-03 23:11:16 | vstinner | set | messageid: <1386112276.47.0.0214056129322.issue19880@psf.upfronthosting.co.za> |
2013-12-03 23:11:16 | vstinner | link | issue19880 messages |
2013-12-03 23:11:16 | vstinner | create | |
|