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 sbt
Recipients Arfrever, amaury.forgeotdarc, christian.heimes, gregory.p.smith, pitrou, python-dev, sbt
Date 2013-08-01.10:27:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
On 01/08/2013 10:59am, Antoine Pitrou wrote:
> If you replace the end of your script with the following:
> for name, mod in sys.modules.items():
>      if name != 'encodings':
>          mod.__dict__["__blob__"] = Blob(name)
> del name, mod, Blob
> then at the end of the shutdown phase, remaining is empty.

On Windows, even with this change, I get for example:

   # remaining {'encodings.mbcs', '__main__', 'encodings.cp1252'}
   [22081 refs, 6742 blocks]


   # remaining {'__main__', 'encodings'}
   [23538 refs, 7136 blocks]
Date User Action Args
2013-08-01 10:27:14sbtsetrecipients: + sbt, gregory.p.smith, amaury.forgeotdarc, pitrou, christian.heimes, Arfrever, python-dev
2013-08-01 10:27:14sbtlinkissue18214 messages
2013-08-01 10:27:14sbtcreate