This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Avoid keeping a strong reference to locale in the _io module
Type: resource usage Stage: resolved
Components: Library (Lib) Versions: Python 3.4
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 2022-04-11 14:57 by admin. This issue is now closed.

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) (Python triager) 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.
msg194105 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-08-01 19:05
Thanks Brett for reviewing. This is now pushed.
Date User Action Args
2022-04-11 14:57:48adminsetgithub: 62808
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