Message76167
I have studied this some time ago. The xx module comes each time from a
different file (in a directory created with tempfile.mkdtemp).
Every instance of the module creates a new entry in the static
"extensions" dictionary in Python/import.c. This entry at least contains
a copy of the module dictionary, which explains the number of "leaked"
references.
I do not see any way to clear this dictionary. The proposed patch is
probably the best thing to do. |
|
Date |
User |
Action |
Args |
2008-11-21 09:07:49 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, christian.heimes |
2008-11-21 09:07:49 | amaury.forgeotdarc | set | messageid: <1227258469.2.0.573760120835.issue4373@psf.upfronthosting.co.za> |
2008-11-21 09:07:48 | amaury.forgeotdarc | link | issue4373 messages |
2008-11-21 09:07:47 | amaury.forgeotdarc | create | |
|