SIGN IN SIGN UP

[3.13] gh-116946: fully implement GC protocol for `_curses_panel.panel` (GH-138333) (#138428)

[3.14] gh-116946: fully implement GC protocol for `_curses_panel.panel` (GH-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 572df47840d910b9fc9cd951074232ae89442be1)
B
Bénédikt Tran committed
afec2c70eb5828b9af32f36e743a1ce6f90d1711
Parent: e7bb98a
Committed by GitHub <noreply@github.com> on 9/6/2025, 10:17:57 AM