| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a5b6cbac-f155-f4b9-c4a6-f3c8f0c1cb38 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B9CA:B70F1:E0CA99:13178BD:6B065571 |
| html-safe-nonce | abd77e3228c036a081d7929bb643cfa352a854a619010959482b764201cb0481 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUNBOkI3MEYxOkUwQ0E5OToxMzE3OEJEOjZCMDY1NTcxIiwidmlzaXRvcl9pZCI6IjMwNDQ4NDAyMTY0NDQ5NDk4NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e0dafb2884e1bfbc79b6fc64ba93849acde119f8ff842bb56a47ee2c0c48264 |
| hovercard-subject-tag | pull_request:2138629552 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/125844/files |
| twitter:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| og:image:alt | Issue: gh-125843
📚 Documentation preview 📚: https://cpython-previews--125844.org.readthedocs.build/ |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/125844/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125844%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125844%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/125844/files |
| Reload | https://github.com/python/cpython/pull/125844/files |
| Reload | https://github.com/python/cpython/pull/125844/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| picnixz | https://github.com/picnixz |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:curses/improve-error-type-125843 | https://github.com/picnixz/cpython/tree/curses/improve-error-type-125843 |
|
Conversation
42
| https://github.com/python/cpython/pull/125844 |
|
Commits
27
| https://github.com/python/cpython/pull/125844/commits |
|
Checks
0
| https://github.com/python/cpython/pull/125844/checks |
|
Files changed
| https://github.com/python/cpython/pull/125844/files |
| Please reload this page | https://github.com/python/cpython/pull/125844/files |
|
gh-125843: indicate which C function caused a curses.error
| https://github.com/python/cpython/pull/125844/files#top |
|
Show all changes
27 commits
| https://github.com/python/cpython/pull/125844/files |
|
03fc9c5
improve `curses.error` object
picnixz Oct 15, 2024
| https://github.com/python/cpython/pull/125844/commits/03fc9c5b44f95aabd74978a14684de4c6538afd8 |
|
3436f9b
update error messages
picnixz Oct 15, 2024
| https://github.com/python/cpython/pull/125844/commits/3436f9b467ed6ee86e4f8bc99cd0760cec3e1163 |
|
73ce26c
cosmetic changes!
picnixz Oct 16, 2024
| https://github.com/python/cpython/pull/125844/commits/73ce26c7924d0cebd39d10efcef752d65e3d1617 |
|
cfe5468
blurb
picnixz Oct 22, 2024
| https://github.com/python/cpython/pull/125844/commits/cfe5468b205a9fb9b5f9054aae3c503cadc751a6 |
|
a8845ee
update docs
picnixz Oct 22, 2024
| https://github.com/python/cpython/pull/125844/commits/a8845eed507cb40f30aafd92640596a5213756ea |
|
1b1230d
Merge remote-tracking branch 'upstream/main' into x-stale/feat/curses…
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/1b1230d7e5241c3fecc7af8a25ac3071d7ef9ab2 |
|
55a491a
reduce diff
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/55a491ae163b7d6130ed7689083df0be676f8e42 |
|
758dfe5
reduce diff even futher
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/758dfe5aace73a130b189606a020f5f52c04c260 |
|
3a3964b
simplify logic
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/3a3964b6eea78d284a72c24424f64e482b384a22 |
|
92e62cf
simplify logic x2
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/92e62cfee4ee40ae4422ba84071fc63982b00a8d |
|
4d8f47f
reduce diff again!
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/4d8f47ffb2f4517d410eb3a8cbe194b96c0f7d6a |
|
5b8ff99
simplify logic x3
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/5b8ff990c5370e479ce8a3183978e657c0e7df5b |
|
43d2e99
lint
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/43d2e9943142afc6f8f07cea75d7781921b02325 |
|
12f0b30
reduce diff x4
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/12f0b30fcf997aae86ece101dc4bfb74d31abbf2 |
|
eaaad71
reduce diff x5
picnixz Apr 25, 2025
| https://github.com/python/cpython/pull/125844/commits/eaaad716af69fd72d19530a909d84f79b3bc2617 |
|
b96b542
simplify even more!
picnixz Apr 26, 2025
| https://github.com/python/cpython/pull/125844/commits/b96b54261aafed7f5ef7d60e12ce89c447ccc36f |
|
39f102f
nits(cosmetics)
picnixz Apr 26, 2025
| https://github.com/python/cpython/pull/125844/commits/39f102fded687b81f436fbabac03e48367ac17c0 |
|
6bc9c3e
update messages
picnixz Apr 27, 2025
| https://github.com/python/cpython/pull/125844/commits/6bc9c3e2728507023ffcbb3d3d92eb94d97e4de2 |
|
5addb78
remove un-necessary prototypes and rearrange code
picnixz Apr 27, 2025
| https://github.com/python/cpython/pull/125844/commits/5addb78e0f158baaa4c355d9f71337635e21921e |
|
34583e0
address review
picnixz May 6, 2025
| https://github.com/python/cpython/pull/125844/commits/34583e016c88e10fefc64d17cbdc1b9840a88907 |
|
236bea5
update error messages in `_curses_panel`
picnixz May 7, 2025
| https://github.com/python/cpython/pull/125844/commits/236bea51e25b21c8f8c5b70e19221787f5200b68 |
|
8188179
raise `curses.error` in `is_linetouched` instead of TypeError
picnixz May 19, 2025
| https://github.com/python/cpython/pull/125844/commits/81881790ec36f7a5402ad18be847b50aa5a12529 |
|
9e6c83e
Revert "update error messages in `_curses_panel`"
picnixz May 19, 2025
| https://github.com/python/cpython/pull/125844/commits/9e6c83e9e0758a9eb22f51256e4c07fcf0d3af47 |
|
3989ddd
fix typo
picnixz May 19, 2025
| https://github.com/python/cpython/pull/125844/commits/3989ddd2e9b8c172be9b055a63779fcda716ac54 |
|
bf54774
correctly check `mouseinterval` return value
picnixz May 19, 2025
| https://github.com/python/cpython/pull/125844/commits/bf54774a2c97b6556d1828be43550ac6c21dca83 |
|
34a1c31
Merge remote-tracking branch 'upstream/main' into feat/curses/error-t…
picnixz May 19, 2025
| https://github.com/python/cpython/pull/125844/commits/34a1c31f020e450022d884c742341ed40b30b319 |
|
6be3a15
reduce overall diff
picnixz May 19, 2025
| https://github.com/python/cpython/pull/125844/commits/6be3a15886171518940c03350959094607afe82a |
|
Clear filters
| https://github.com/python/cpython/pull/125844/files |
| Please reload this page | https://github.com/python/cpython/pull/125844/files |
| Please reload this page | https://github.com/python/cpython/pull/125844/files |
|
py_curses.h
| https://github.com/python/cpython/pull/125844/files#diff-20c11bc93fa13e7529837bd28f4f11045ed1d68df5e532fe7695d3fa720c0660 |
|
test_curses.py
| https://github.com/python/cpython/pull/125844/files#diff-d8a49e57c7f50f48b6ae331ca0dcd3634ed1b1d35d10601c57b15ba405fbb765 |
|
2024-10-22-16-21-55.gh-issue-125843.2ttzYo.rst
| https://github.com/python/cpython/pull/125844/files#diff-21d8dd91e1d3e0a7c3860b96ca4013d8a673d7b3565f8343b415938cd56311ab |
|
_cursesmodule.c
| https://github.com/python/cpython/pull/125844/files#diff-f77a12c8531c26a47799058e7b02fd9b43753a458b5ed1cefc6693685aa098ce |
| Include/py_curses.h | https://github.com/python/cpython/pull/125844/files#diff-20c11bc93fa13e7529837bd28f4f11045ed1d68df5e532fe7695d3fa720c0660 |
|
View file
| https://github.com/picnixz/cpython/blob/6be3a15886171518940c03350959094607afe82a/Include/py_curses.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/125844/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/125844/files#diff-20c11bc93fa13e7529837bd28f4f11045ed1d68df5e532fe7695d3fa720c0660 |
|
| https://github.com/python/cpython/pull/125844/files#diff-20c11bc93fa13e7529837bd28f4f11045ed1d68df5e532fe7695d3fa720c0660 |
| Lib/test/test_curses.py | https://github.com/python/cpython/pull/125844/files#diff-d8a49e57c7f50f48b6ae331ca0dcd3634ed1b1d35d10601c57b15ba405fbb765 |
|
View file
| https://github.com/picnixz/cpython/blob/6be3a15886171518940c03350959094607afe82a/Lib/test/test_curses.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/125844/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/125844/files#diff-d8a49e57c7f50f48b6ae331ca0dcd3634ed1b1d35d10601c57b15ba405fbb765 |
|
| https://github.com/python/cpython/pull/125844/files#diff-d8a49e57c7f50f48b6ae331ca0dcd3634ed1b1d35d10601c57b15ba405fbb765 |
| Misc/NEWS.d/next/Library/2024-10-22-16-21-55.gh-issue-125843.2ttzYo.rst | https://github.com/python/cpython/pull/125844/files#diff-21d8dd91e1d3e0a7c3860b96ca4013d8a673d7b3565f8343b415938cd56311ab |
|
View file
| https://github.com/picnixz/cpython/blob/6be3a15886171518940c03350959094607afe82a/Misc/NEWS.d/next/Library/2024-10-22-16-21-55.gh-issue-125843.2ttzYo.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/125844/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/125844/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |