classification
Title: Avoid keeping a strong reference to locale in the _io module
Type: resource usage Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, benjamin.peterson, christian.heimes, pitrou, python-dev
Priority: normal Keywords: patch

Created on 2013-07-31 21:20 by pitrou, last changed 2013-08-01 19:05 by pitrou. This issue is now closed.

Files
File name Uploaded Description Edit
io_locale_ref.patch pitrou, 2013-07-31 21:20 review
Messages (3)
msg194023 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-07-31 21:20
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.
msg194103 - (view) Author: Roundup Robot (python-dev) Date: 2013-08-01 19:05
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
msg194105 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-08-01 19:05
Thanks Brett for reviewing. This is now pushed.
History
Date User Action Args
2013-08-01 19:05:47pitrousetstatus: open -> closed
resolution: fixed
messages: + msg194105

stage: patch review -> resolved
2013-08-01 19:05:17python-devsetnosy: + python-dev
messages: + msg194103
2013-08-01 09:55:59christian.heimessetnosy: + christian.heimes
2013-07-31 21:20:31pitroucreate