Le Thu, 01 Aug 2013 17:03:03 +0200, "Martin v. Löwis" <mar...@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, unsurprisingly): http://bugs.python.org/issue18608 cheers Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com