You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_curses reference leak in the Python main branch #94644
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.
@kumaraditya303 fixed the reference leak when the curses module is built without ncursesw. I addressed the missing HAVE_NCURSESW in the pkg-config branch. Additional defines and include directories are now coming from pkg-config or env var overrides.
Activity
tiran commentedon Jul 7, 2022
HAVE_NCURSESWshould be added topyconfig.h. The pkg-config branch does not define the config value.The problem may have revealed an old bug in the non-wide curses build.
pythongh-94644: Define HAVE_NCURSESW in pkg-config branch
gh-94644: Define HAVE_NCURSESW in pkg-config branch (#94651)
GH-94644: fix test_curses ref leak (GH-94647)
pythonGH-94644: fix test_curses ref leak (pythonGH-94647)
pythonGH-94644: fix test_curses ref leak (pythonGH-94647)
tiran commentedon Jul 7, 2022
@kumaraditya303 fixed the reference leak when the curses module is built without
ncursesw. I addressed the missingHAVE_NCURSESWin the pkg-config branch. Additional defines and include directories are now coming from pkg-config or env var overrides.GH-94644: fix test_curses ref leak (GH-94647)
vstinner commentedon Jul 7, 2022
What is this branch?
tiran commentedon Jul 7, 2022
The TRUE branch in
PKG_CHECK_MODULEScall:GH-94644: fix test_curses ref leak (GH-94647)
vstinner commentedon Jul 7, 2022
At commit b6558d7, the HAVE_NCURSESW macro is now defined as 1 in pyconfig.h:
Thanks for the fix.