[Python-Dev] PEP 442 aftermath: module globals at shutdown
solipsis at pitrou.net
Thu Aug 1 17:11:49 CEST 2013
Le Thu, 01 Aug 2013 17:03:03 +0200,
"Martin v. Löwis" <martin at v.loewis.de> a écrit :
> Am 30.07.13 23:32, schrieb Antoine Pitrou:
> > - it is held alive by a C extension: the main example is the locale
> > module, which is held alive by _io and in turn keeps alive other
> > Python modules (such as collections or re).
> If the _locale module would use PEP 3121 (issue15662), this problem
> should go away.
Not really: I'm talking about the pure Python locale module.
However, I've got another solution for this one (using weakrefs,
More information about the Python-Dev