Message194117
The site module patches the builtins module unless Python is run with -S. Unfortunately, this means the builtins dict then keeps the site module globals alive until the end of interpreter shutdown, preventing the garbage collection of many other objects or modules.
Attached patch isolates those patched builtins inside a separate module "_sitebuiltins". |
|
Date |
User |
Action |
Args |
2013-08-01 20:49:56 | pitrou | set | recipients:
+ pitrou, sbt |
2013-08-01 20:49:56 | pitrou | set | messageid: <1375390196.76.0.0867903823381.issue18621@psf.upfronthosting.co.za> |
2013-08-01 20:49:56 | pitrou | link | issue18621 messages |
2013-08-01 20:49:56 | pitrou | create | |
|