Issue 17937: Collect garbage harder at shutdown (original) (raw)
Issue17937
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/62137
classification
Title: | Collect garbage harder at shutdown | ||
---|---|---|---|
Type: | resource usage | Stage: | resolved |
Components: | Interpreter Core | Versions: | Python 3.4 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | pitrou, python-dev | |
Priority: | low | Keywords: | patch |
Created on 2013-05-08 21:14 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
gc_hard.patch | pitrou,2013-05-08 21:14 | review |
Messages (3) | ||
---|---|---|
msg188736 - (view) | Author: Antoine Pitrou (pitrou) * ![]() |
Date: 2013-05-08 21:14 |
This is a patch to collect cyclic garbage one more time when all modules have been cleared. | ||
msg188939 - (view) | Author: Antoine Pitrou (pitrou) * ![]() |
Date: 2013-05-11 18:23 |
I was asked what this patch did exactly: it simply calls the garbage collector one last time after sys.modules has been cleared. I don't know it it makes much of a difference, but it may limit the amount of leaking when doing successive Py_Initialize/Py_Finalize calls. | ||
msg189561 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2013-05-18 23:12 |
New changeset 5abe85aefe29 by Antoine Pitrou in branch 'default': Issue #17937: Try harder to collect cyclic garbage at shutdown. http://hg.python.org/cpython/rev/5abe85aefe29 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:45 | admin | set | github: 62137 |
2013-05-18 23:14:15 | pitrou | set | status: open -> closedresolution: fixedstage: patch review -> resolved |
2013-05-18 23:12:20 | python-dev | set | nosy: + python-devmessages: + |
2013-05-11 18:23:32 | pitrou | set | messages: + |
2013-05-08 21:14:26 | pitrou | create |
Supported by The Python Software Foundation,
Powered by Roundup
Copyright © 1990-2022, Python Software Foundation
Legal Statements