Title: Restore ncurses widechar support on macOS · Issue #111460 · python/cpython · GitHub
Open Graph Title: Restore ncurses widechar support on macOS · Issue #111460 · python/cpython
X Title: Restore ncurses widechar support on macOS · Issue #111460 · python/cpython
Description: Bug report Bug description: Python 3.12 dropped ncurses wide char support on macOS, so for example curses.get_wch() is not available anymore. I believe this was an unintended consequence of #94452, because the change is not documented an...
Open Graph Description: Bug report Bug description: Python 3.12 dropped ncurses wide char support on macOS, so for example curses.get_wch() is not available anymore. I believe this was an unintended consequence of #94452,...
X Description: Bug report Bug description: Python 3.12 dropped ncurses wide char support on macOS, so for example curses.get_wch() is not available anymore. I believe this was an unintended consequence of #94452,...
Opengraph URL: https://github.com/python/cpython/issues/111460
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restore ncurses widechar support on macOS","articleBody":"# Bug report\n\n### Bug description:\n\nPython 3.12 dropped ncurses wide char support on macOS, so for example `curses.get_wch()` is not available anymore.\n\nI believe this was an unintended consequence of https://github.com/python/cpython/pull/94452, because the change is not documented anywhere. After that PR, HAVE_NCURSESW is never defined on Darwin. It looks like this bit of logic was not ported from setup.py to configure.ac:\n\nhttps://github.com/python/cpython/blob/ec5e253556875640b1ac514e85c545346ac3f1e0/setup.py#L1121-L1124\n\nIn fact, wide char support is always available when using Apple-provided ncurses, and it used to work correctly in the 3.11 builds that I tested.\n\n@tiran can you confirm that this was unintended?\n\ncc @sobolevn who interpreted this as an intended change in https://github.com/python/typeshed/pull/10808. \n\n### CPython versions tested on:\n\n3.12, 3.13\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-111878\n* gh-112034\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sorcio","@type":"Person","name":"sorcio"},"datePublished":"2023-10-29T14:32:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/111460/cpython/issues/111460"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f9df135a-2f26-306a-f4db-1559b6d6c1cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB12:F5661:368B87:4B1682:696A7423 |
| html-safe-nonce | 926506e1ab5c0ae1bd3a3fc6952131b4460373ea753eef0dfba20b4583070934 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjEyOkY1NjYxOjM2OEI4Nzo0QjE2ODI6Njk2QTc0MjMiLCJ2aXNpdG9yX2lkIjoiNDQ2ODc1NTA2MTk3NzgwNTg1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 25d997f275d1c155a8396e685bac13f11c4f7c3b056798120492d186881a7528 |
| hovercard-subject-tag | issue:1967014790 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/111460/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85509c2240adc191c187708f967f0bca399d9405ae86c1a9c96dccc37d135920/python/cpython/issues/111460 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85509c2240adc191c187708f967f0bca399d9405ae86c1a9c96dccc37d135920/python/cpython/issues/111460 |
| og:image:alt | Bug report Bug description: Python 3.12 dropped ncurses wide char support on macOS, so for example curses.get_wch() is not available anymore. I believe this was an unintended consequence of #94452,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sorcio |
| hostname | github.com |
| expected-hostname | github.com |
| None | cfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a0b6893c221f98f607598e939299fdf5763435d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width