This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes
Date 2008-11-21.09:07:47
SpamBayes Score 5.434629e-09
Marked as misclassified No
Message-id <1227258469.2.0.573760120835.issue4373@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-21 09:07:49amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, christian.heimes
2008-11-21 09:07:49amaury.forgeotdarcsetmessageid: <1227258469.2.0.573760120835.issue4373@psf.upfronthosting.co.za>
2008-11-21 09:07:48amaury.forgeotdarclinkissue4373 messages
2008-11-21 09:07:47amaury.forgeotdarccreate