]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116946: fully implement GC protocol for `_curses_panel.panel` (#138333)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Wed, 3 Sep 2025 08:17:17 +0000 (10:17 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Sep 2025 08:17:17 +0000 (10:17 +0200)
commit572df47840d910b9fc9cd951074232ae89442be1
treece21469daf11bf4bf767b16bc20b4cb5ac09b9ab
parent51244ba16a7312945a60dff18ed155a581295fbf
gh-116946: fully implement GC protocol for `_curses_panel.panel` (#138333)

This commit fixes possible reference loops via `panel.set_userptr`
by implementing `tp_clear` and `tp_traverse` for panel objects.
Modules/_curses_panel.c