FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-116946: fully implement GC protocol for `_curses_panel.panel` (GH-138333) by picnixz · Pull Request #138428 · python/cpython · GitHub

/ cpython Public

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

Merged
picnixz merged 1 commit into
python:3.13from
picnixz:backport-572df47-3.13
Sep 6, 2025
Merged

[3.13] gh-116946: fully implement GC protocol for _curses_panel.panel (GH-138333)#138428
picnixz merged 1 commit into
python:3.13from
picnixz:backport-572df47-3.13

Conversation

picnixz commented Sep 3, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

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 <10796600+picnixz@users.noreply.github.com>
picnixz 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

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. 👍

picnixz merged commit afec2c7 into python:3.13 Sep 6, 2025
43 checks passed
picnixz deleted the backport-572df47-3.13 branch September 6, 2025 10:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL