[issue18608] Avoid keeping a strong reference to locale in the _io module
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18608 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18608] Avoid keeping a strong reference to locale in the _io module
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18608 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18608] Avoid keeping a strong reference to locale in the _io module
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18608] Avoid keeping a strong reference to locale in the _io module
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: 194023 nosy: amaury.forgeotdarc, benjamin.peterson, pitrou priority: normal severity: normal stage: patch review status: open title: Avoid keeping a strong reference to locale in the _io module type: resource usage versions: Python 3.4 Added file: http://bugs.python.org/file31103/io_locale_ref.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18608 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com