
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2019-02-17 20:20 bypablogsal, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 11909 | merged | pablogsal,2019-02-17 20:21 | |
| Messages (2) | |||
|---|---|---|---|
| msg335787 -(view) | Author: Pablo Galindo Salgado (pablogsal)*![]() | Date: 2019-02-17 20:20 | |
gc.get_objects() return all the objects tracked by the garbage collector. This is useful, but right now there is no way of knowing in which generation each object is currently on. This information can be beneficial to understand better the state of the garbage collector in a particular moment in time. This will allow knowing what are the oldest object tracked by the collector, gathering more fine-grained statistics about how generations are filled, better debugging and better insights about the internal structure of the generations.To allow this, I propose a new optional parameter to gc.get_objects, allowing the user to specify the generation to get the objects from. | |||
| msg336357 -(view) | Author: Inada Naoki (methane)*![]() | Date: 2019-02-23 03:02 | |
New changeset175421b58cc97a2555e474f479f30a6c5d2250b0 by Inada Naoki (Pablo Galindo) in branch 'master':bpo-36016: Add generation option to gc.getobjects() (GH-11909)https://github.com/python/cpython/commit/175421b58cc97a2555e474f479f30a6c5d2250b0 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:11 | admin | set | github: 80197 |
| 2019-02-23 11:50:17 | methane | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019-02-23 03:02:10 | methane | set | nosy: +methane messages: +msg336357 |
| 2019-02-17 20:35:15 | pablogsal | set | nosy: +pitrou |
| 2019-02-17 20:22:27 | pablogsal | set | nosy: +nascheme |
| 2019-02-17 20:21:59 | pablogsal | set | keywords: +patch stage: patch review pull_requests: +pull_request11935 |
| 2019-02-17 20:20:35 | pablogsal | create | |