Skip to content

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commented Sep 3, 2025

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)

…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 <[email protected]>
@picnixzpicnixz changed the title [3.14] gh-116946: fully implement GC protocol for _curses_panel.panel (GH-138333)[3.13] gh-116946: fully implement GC protocol for _curses_panel.panel (GH-138333)Sep 3, 2025
Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

@picnixzpicnixz merged commit afec2c7 into python:3.13Sep 6, 2025
43 checks passed
@picnixzpicnixz deleted the backport-572df47-3.13 branch September 6, 2025 10:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@picnixz@serhiy-storchaka