Title: The _curses.window.get_wch() method is not available in Python 3.13 for macOS universal2 installer · Issue #128085 · python/cpython · GitHub
Open Graph Title: The _curses.window.get_wch() method is not available in Python 3.13 for macOS universal2 installer · Issue #128085 · python/cpython
X Title: The _curses.window.get_wch() method is not available in Python 3.13 for macOS universal2 installer · Issue #128085 · python/cpython
Description: Bug report Bug description: With macOS 64-bit universal2 installer for Python 3.13(both 3.13.0 and 3.13.1), following code raises error AttributeError: '_curses.window' object has no attribute 'get_wch'. Did you mean: 'getch'? . from cur...
Open Graph Description: Bug report Bug description: With macOS 64-bit universal2 installer for Python 3.13(both 3.13.0 and 3.13.1), following code raises error AttributeError: '_curses.window' object has no attribute 'get...
X Description: Bug report Bug description: With macOS 64-bit universal2 installer for Python 3.13(both 3.13.0 and 3.13.1), following code raises error AttributeError: '_curses.window' object has no attrib...
Opengraph URL: https://github.com/python/cpython/issues/128085
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The _curses.window.get_wch() method is not available in Python 3.13 for macOS universal2 installer","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\nWith macOS 64-bit universal2 installer for Python 3.13(both 3.13.0 and 3.13.1), following code raises \r\n error `AttributeError: '_curses.window' object has no attribute 'get_wch'. Did you mean: 'getch'?` .\r\n \r\n```python\r\nfrom curses import wrapper\r\n\r\ndef main(stdscr):\r\n c = stdscr.get_wch()\r\n\r\nwrapper(main)\r\n```\r\n\r\nHowever, it can be used on the same box if I build Python from source code myself. \r\n\r\nTested on MacOS Sequoia 15.0:\r\n\r\n- With macOS 64-bit universal2:\r\n ```\r\n python3.13 -c \"import sysconfig; print(sysconfig.get_config_vars('HAVE_NCURSES', 'HAVE_NCURSESW'))\"\r\n [0, 0]\r\n ```\r\n \r\n- Built from source:\r\n ```\r\n ./python.exe -c \"import sysconfig; print(sysconfig.get_config_vars('HAVE_NCURSES', 'HAVE_NCURSESW'))\"\r\n [0, 1]\r\n ```\r\n\r\n### CPython versions tested on:\r\n\r\n3.13\r\n\r\n### Operating systems tested on:\r\n\r\nmacOS","author":{"url":"https://github.com/atsuoishimoto","@type":"Person","name":"atsuoishimoto"},"datePublished":"2024-12-19T02:26:14Z","url":"https://github.com/python/cpython/issues/128085"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:e91e53e3-759f-9640-7f26-7b4f6e975671 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7A4:59847:CFAD20:116E695:6B005459 |
| html-safe-nonce | 20b32b566da9d0da581fcaaca7bc43266d236aed401d4d18f3f7e44905f2b4e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0E0OjU5ODQ3OkNGQUQyMDoxMTZFNjk1OjZCMDA1NDU5IiwidmlzaXRvcl9pZCI6IjgxNjI5MDgwMjAxNDYxOTc1OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | abec3375913c87fe7c0acb2f83c1a9c9ffddc185bad6ec0755141616062dbada |
| hovercard-subject-tag | issue:2749103110 |
| 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/128085/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e79cb87817d082d858cb788d092d59d98fa250c69d03a89abe2ec4d8e92d642/python/cpython/issues/128085 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e79cb87817d082d858cb788d092d59d98fa250c69d03a89abe2ec4d8e92d642/python/cpython/issues/128085 |
| og:image:alt | Bug report Bug description: With macOS 64-bit universal2 installer for Python 3.13(both 3.13.0 and 3.13.1), following code raises error AttributeError: '_curses.window' object has no attribute 'get... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | atsuoishimoto |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width