-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
gh-116946: fully implement GC protocol for _curses_panel.panel
#138333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
This fixes possible reference loops via |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, @picnixz, I could not cleanly backport this to
|
Sorry, @picnixz, I could not cleanly backport this to
|
…l.panel` (pythonGH-138333) This commit fixes possible reference loops via `panel.set_userptr` by implementing `tp_clear` and `tp_traverse` for panel objects. (cherry picked from commit 572df47) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-138427 is a backport of this pull request to the 3.14 branch. |
…l.panel` (pythonGH-138333) This commit fixes possible reference loops via `panel.set_userptr` by implementing `tp_clear` and `tp_traverse` for panel objects. (cherry picked from commit 572df47) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-138428 is a backport of this pull request to the 3.13 branch. |
GH-138428 is a backport of this pull request to the 3.14 branch. |
python#138333) This commit fixes possible reference loops via `panel.set_userptr` by implementing `tp_clear` and `tp_traverse` for panel objects.
This type is a true container type and thus needs the GC.