Skip to content

gh-148208: Fix recursion depth leak in PyObject_Print#148209

Open
Wulian233 wants to merge 2 commits intopython:mainfrom
Wulian233:object
Open

gh-148208: Fix recursion depth leak in PyObject_Print#148209
Wulian233 wants to merge 2 commits intopython:mainfrom
Wulian233:object

Conversation

@Wulian233
Copy link
Copy Markdown
Contributor

@Wulian233 Wulian233 commented Apr 7, 2026

Copy link
Copy Markdown
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

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

Do you think you could come up with a simple test case to stress this?

@Wulian233
Copy link
Copy Markdown
Contributor Author

Sorry, I'm not quite sure how to create tests for capi
sad

@StanFromIreland
Copy link
Copy Markdown
Member

StanFromIreland commented Apr 7, 2026

Is _Py_LeaveRecursiveCall not a no-op since 0142236?

@Wulian233
Copy link
Copy Markdown
Contributor Author

Oh, that's true. Is it still necessary for me to add this?

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.

3 participants