-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_curses reference leak in the Python main branch #94644
Comments
The problem may have revealed an old bug in the non-wide curses build. |
(cherry picked from commit 277f55c) Co-authored-by: Kumar Aditya <[email protected]>
(cherry picked from commit 277f55c) Co-authored-by: Kumar Aditya <[email protected]>
@kumaraditya303 fixed the reference leak when the curses module is built without |
(cherry picked from commit 277f55c) Co-authored-by: Kumar Aditya <[email protected]>
What is this branch? |
The TRUE branch in
|
(cherry picked from commit 277f55c) Co-authored-by: Kumar Aditya <[email protected]>
At commit b6558d7, the HAVE_NCURSESW macro is now defined as 1 in pyconfig.h:
Thanks for the fix. |
At commit e925241, test_curses leaks references:
I reproduce the issue on Fedora.
Example of failing buildbot: https://buildbot.python.org/all/#/builders/16/builds/244
Before this change, Python doesn't leak references.
Before: make:
After: make:
The commit removes
-DHAVE_NCURSESW=1 -I/usr/include/ncursesw
options and adds-D_DEFAULT_SOURCE
option to the (gcc) build command line of the _curses extension.cc @tiran @erlend-aasland
The text was updated successfully, but these errors were encountered: