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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2020-08-25.04:15:19.157>labels= ['3.10', 'type-feature', 'OS-windows', 'build']
title='Enable curses support on Windows'updated_at=<Date2020-08-25.17:05:55.513>user='https://github.com/madebr'
This will need more work than what's been done in the pull request, as _curses is still not being built as part of normal build, and so is not being tested in CI.
#154956 builds the two modules against PDCurses when PDCURSES_DIR points at a PDCursesMod checkout. It is opt-in, so a normal build is unchanged and CI still does not exercise them, as @zooba noted above — bundling the library and building it by default is a separate step, which this makes possible to test first.
test_curses runs against PDCurses rather than skipping: 168 tests, 26 skipped, on Windows 11, and the same suite passes against PDCursesMod on Linux and FreeBSD in five build configurations.
Activity
madebr commentedon Aug 25, 2020
When building python using Visual Studio, the curses and curses.module, are not getting built.
zooba commentedon Aug 25, 2020
The curses module is currently not supported on Windows, and this patch is far more than just updating the VS build. I've updated the title.
Refer to bpo-31951 for more context.
This will need more work than what's been done in the pull request, as _curses is still not being built as part of normal build, and so is not being tested in CI.
[-]Visual Studio does not build the curses and curses.panel module[/-][+]Enable curses support on Windows[/+]erlend-aasland commentedon May 6, 2024
With the recently added Python REPL, we now have a use case for adding curses support on Windows.
erlend-aasland commentedon May 6, 2024
See also:
serhiy-storchaka commentedon Jul 30, 2026
#154956 builds the two modules against PDCurses when
PDCURSES_DIRpoints at a PDCursesMod checkout. It is opt-in, so a normal build is unchanged and CI still does not exercise them, as @zooba noted above — bundling the library and building it by default is a separate step, which this makes possible to test first.test_cursesruns against PDCurses rather than skipping: 168 tests, 26 skipped, on Windows 11, and the same suite passes against PDCursesMod on Linux and FreeBSD in five build configurations.