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-103092: Prep curses module for multi-phase init#23091

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

Closed
koubaa wants to merge3 commits intopython:mainfromkoubaa:bpo-1635741-curses-prep

Conversation

koubaa
Copy link
Contributor

@koubaakoubaa commentedNov 2, 2020
edited by bedevere-appbot
Loading

@shihai1991
Copy link
Member

cc@vstinner@corona10

@koubaakoubaa marked this pull request as draftNovember 3, 2020 00:31
@koubaakoubaa marked this pull request as ready for reviewNovember 4, 2020 02:37
@koubaa
Copy link
ContributorAuthor

@vstinner@corona10@shihai1991 please review

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelDec 16, 2020
@koubaakoubaaforce-pushed thebpo-1635741-curses-prep branch fromc96930b to0dc705bCompareFebruary 28, 2021 18:31
@koubaa
Copy link
ContributorAuthor

@vstinner would you please review?

Py_DECREF(o); \
goto error; \
Copy link
Member

Choose a reason for hiding this comment

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

"return NULL;" is enough: you should remove the error label. An error label is used when you need to clean up things, it's not the case here. Same remark at the bottom of the file.

return NULL;
}

static void *PyCurses_API[PyCurses_API_pointers];
Copy link
Member

Choose a reason for hiding this comment

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

There are warnings on the PR, like ‘PyCurses_API’ defined but not used [-Wunused-variable].

@iritkatriel
Copy link
Member

https://bugs.python.org/issue1635741 is closed. What is the status of this PR?

@vstinner
Copy link
Member

The change is still relevant, but should use a new issue number.

Moreover, the SC asked to put the conversion of static types to heap types on hold.@encukou and@erlend-aasland wrotehttps://peps.python.org/pep-0687/ which may unblock the situation but it's still a draft.

@erlend-aasland
Copy link
Contributor

FYI,PEP-687 was justaccepted.

@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelJul 31, 2022
@encukouencukou changed the titlebpo-1635741: Prep curses module for multi-phase initgh-103092: Prep curses module for multi-phase initMar 28, 2024
@bedevere-appbedevere-appbot mentioned this pull requestMar 28, 2024
25 tasks
@erlend-aasland
Copy link
Contributor

Closing as per#101714 (comment). Thanks for the effort, Mohamed!

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

@vstinnervstinnervstinner left review comments

@shihai1991shihai1991shihai1991 left review comments

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

8 participants
@koubaa@shihai1991@iritkatriel@vstinner@erlend-aasland@the-knights-who-say-ni@ezio-melotti@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp