Uh oh!
There was an error while loading. Please reload this page.
gh-103092: Prep curses module for multi-phase init - #23091
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shihai1991
commented
Nov 2, 2020
koubaa
commented
Nov 4, 2020
@vstinner@corona10@shihai1991 please review |
Uh oh!
There was an error while loading. Please reload this page.
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 |
c96930b to
0dc705bComparekoubaa
commented
Feb 28, 2021
@vstinner would you please review? |
| } \ | ||
| if (PyDict_SetItemString(d, string, o) < 0) { \ | ||
| Py_DECREF(o); \ | ||
| goto error; \ |
There was a problem hiding this comment.
"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]; |
There was a problem hiding this comment.
There are warnings on the PR, like ‘PyCurses_API’ defined but not used [-Wunused-variable].
iritkatriel
commented
Apr 11, 2022
https://bugs.python.org/issue1635741 is closed. What is the status of this PR? |
vstinner
commented
Apr 19, 2022
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 wrote https://peps.python.org/pep-0687/ which may unblock the situation but it's still a draft. |
erlend-aasland
commented
Jun 27, 2022
erlend-aasland
commented
May 8, 2024
Closing as per #101714 (comment). Thanks for the effort, Mohamed! |
https://bugs.python.org/issue1635741