[issue18608] Avoid keeping a strong reference to locale in the _io module

2013-08-01 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18608 ___ ___

[issue18608] Avoid keeping a strong reference to locale in the _io module

2013-08-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c9aa4f68f2b by Antoine Pitrou in branch 'default': Issue #18608: Avoid keeping a strong reference to the locale module inside the _io module. http://hg.python.org/cpython/rev/1c9aa4f68f2b -- nosy: +python-dev

[issue18608] Avoid keeping a strong reference to locale in the _io module

2013-08-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks Brett for reviewing. This is now pushed. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18608

[issue18608] Avoid keeping a strong reference to locale in the _io module

2013-07-31 Thread Antoine Pitrou
New submission from Antoine Pitrou: Keeping a strong reference to locale in _io prevents several modules from being collected before being wiped at shutdown. Attached patch stores a weakref instead. -- components: Library (Lib) files: io_locale_ref.patch keywords: patch messages: