Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-133579: correctly report C curses errors in_curses_panel#134629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
picnixz wants to merge8 commits intopython:main
base:main
Choose a base branch
Loading
frompicnixz:fix/curses/panel-better-errors-125843

Conversation

picnixz
Copy link
Member

@picnixzpicnixz commentedMay 24, 2025
edited
Loading

This was part of#125844 but I extracted it from there because it wasn't necessary. I'll make it part ofgh-133579 instead ofgh-125843 because the other one was more for curses module itself and this one is a follow-up (and also because I changed some exception types)

@picnixzpicnixz requested a review fromencukouMay 24, 2025 12:26
@picnixzpicnixz changed the titlegh-125843: correctly report C curses errors in_curses_panelgh-133579: correctly report C curses errors in_curses_panelMay 24, 2025
@picnixzpicnixz requested a review fromvstinnerMay 30, 2025 13:57
Comment on lines +49 to +59
/*
* Note: 'state' may be NULL if Py_TYPE(panel) is not a heap
* type associated with this module, but the compiler would
* have likely already complained with an "invalid pointer
* type" at compile-time.
*
* To make it more robust, all functions recovering a module's
* state from an object should expect to return NULL with an
* exception set (in contrast to functions recovering a module's
* state from a module itself).
*/
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I'll remove this comment once reviewers have seen it.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@encukouencukouAwaiting requested review from encukou

@vstinnervstinnerAwaiting requested review from vstinner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@picnixz

[8]ページ先頭

©2009-2025 Movatter.jp