| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9b2840ba-555a-7c21-c449-cef4368460ac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B038:249987:B9C1D1:F8E67A:6B06498D |
| html-safe-nonce | d04c082abcfd763c3317b965fe98f071f6f4c8f9b94d452f0bdabfaf1d5bd539 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDM4OjI0OTk4NzpCOUMxRDE6RjhFNjdBOjZCMDY0OThEIiwidmlzaXRvcl9pZCI6IjY1ODEyOTcyMDQ0MTE5NDg5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6dd87d2533ff9db98a258779a4928d8704e8193be783fdfca3ac0d33ab561955 |
| hovercard-subject-tag | pull_request:4252012153 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/155548/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1a254691908e0f43a6f6f297572996bc959b2fcf8b216fb4ce847d3c2ecd1ec7/python/cpython/pull/155548 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a254691908e0f43a6f6f297572996bc959b2fcf8b216fb4ce847d3c2ecd1ec7/python/cpython/pull/155548 |
| og:image:alt | Summary
Backport of GH-154875 to 3.15.
curses.termattrs() returns a chtype mask, but it was routed through an int to check for ERR. On a terminal that advertises A_ITALIC (topmost bit of a 32-bit m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sankalpsthakur |
| hostname | github.com |
| expected-hostname | github.com |
| None | 772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e |
| turbo-cache-control | no-cache |
| 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 | f1f9a08f7c769a37f1dfc18ad43d463c222a7eea |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/155548#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155548 |
| 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%2F155548 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/155548 |
| Reload | https://github.com/python/cpython/pull/155548 |
| Reload | https://github.com/python/cpython/pull/155548 |
| 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 |
| https://github.com/python/cpython |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:3.15 | https://github.com/python/cpython/tree/3.15 |
| sankalpsthakur:fix/154874-termattrs-backport-3.15 | https://github.com/sankalpsthakur/cpython/tree/fix/154874-termattrs-backport-3.15 |
| Conversation | https://github.com/python/cpython/pull/155548 |
| Commits4 (4) | https://github.com/python/cpython/pull/155548/commits |
| Checks | https://github.com/python/cpython/pull/155548/checks |
| Files changed | https://github.com/python/cpython/pull/155548/files |
| [3.15] gh-154874: Fix the sign of curses.termattrs() (GH-154875) | https://github.com/python/cpython/pull/155548#top |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:3.15 | https://github.com/python/cpython/tree/3.15 |
| sankalpsthakur:fix/154874-termattrs-backport-3.15 | https://github.com/sankalpsthakur/cpython/tree/fix/154874-termattrs-backport-3.15 |
|
| https://github.com/sankalpsthakur |
| sankalpsthakur | https://github.com/sankalpsthakur |
| Aug 11, 2026 | https://github.com/python/cpython/pull/155548#issue-5118820022 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| GH-154875 | https://github.com/python/cpython/pull/154875 |
| 0b083c4 | https://github.com/python/cpython/commit/0b083c43a455fbdf5378495751e142ea83e294b0 |
| #154874 | https://github.com/python/cpython/issues/154874 |
| curses.termattrs() returns a negative value on italic terminals #154874 | https://github.com/python/cpython/issues/154874 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
|
curses.termattrs() returns a negative value on italic terminals
#154874
| https://github.com/python/cpython/issues/154874 |
|
gh-154874: Fix the sign of curses.termattrs()
#154875
| https://github.com/python/cpython/pull/154875 |
|
| https://github.com/fedonman |
|
| https://github.com/sankalpsthakur |
| [3.15] | https://github.com/python/cpython/pull/155548/commits/225795ab21395a24f512f7366f45b4c976eaaa65 |
| pythongh-154874 | https://github.com/python/cpython/issues/154874 |
| : Fix the sign of curses.termattrs() ( | https://github.com/python/cpython/pull/155548/commits/225795ab21395a24f512f7366f45b4c976eaaa65 |
| pythonGH-… | https://github.com/python/cpython/pull/154875 |
| 225795a | https://github.com/python/cpython/pull/155548/commits/225795ab21395a24f512f7366f45b4c976eaaa65 |
| …154875 | https://github.com/python/cpython/pull/154875 |
| 0b083c4 | https://github.com/sankalpsthakur/cpython/commit/0b083c43a455fbdf5378495751e142ea83e294b0 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Aug 11, 2026 | https://github.com/python/cpython/pull/155548#event-29271786768 |
| https://github.com/sankalpsthakur |
| sankalpsthakur | https://github.com/sankalpsthakur |
| force-pushed | https://github.com/python/cpython/compare/e5cf9684c2160113d273bb37034b764e264ed632..225795ab21395a24f512f7366f45b4c976eaaa65 |
| e5cf968 | https://github.com/python/cpython/commit/e5cf9684c2160113d273bb37034b764e264ed632 |
| 225795a | https://github.com/python/cpython/commit/225795ab21395a24f512f7366f45b4c976eaaa65 |
|
Compare
| https://github.com/python/cpython/compare/e5cf9684c2160113d273bb37034b764e264ed632..225795ab21395a24f512f7366f45b4c976eaaa65 |
| August 11, 2026 09:47 | https://github.com/python/cpython/pull/155548#event-29271795189 |
|
| https://github.com/sankalpsthakur |
| Merge branch '3.15' into fix/154874-termattrs-backport-3.15 | https://github.com/python/cpython/pull/155548/commits/6bb3ccd06c45961c044c635e83d60134a905aced |
| 6bb3ccd | https://github.com/python/cpython/pull/155548/commits/6bb3ccd06c45961c044c635e83d60134a905aced |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Oct 7, 2026 | https://github.com/python/cpython/pull/155548#issuecomment-6029501854 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/sankalpsthakur |
| sankalpsthakur | https://github.com/sankalpsthakur |
| force-pushed | https://github.com/python/cpython/compare/9ba91b242e29989bf2b8275de13a9f186ffc69fd..6bb3ccd06c45961c044c635e83d60134a905aced |
| 9ba91b2 | https://github.com/python/cpython/commit/9ba91b242e29989bf2b8275de13a9f186ffc69fd |
| 6bb3ccd | https://github.com/python/cpython/commit/6bb3ccd06c45961c044c635e83d60134a905aced |
|
Compare
| https://github.com/python/cpython/compare/9ba91b242e29989bf2b8275de13a9f186ffc69fd..6bb3ccd06c45961c044c635e83d60134a905aced |
| October 7, 2026 02:26 | https://github.com/python/cpython/pull/155548#event-32653269137 |
| https://github.com/sankalpsthakur |
| sankalpsthakur | https://github.com/sankalpsthakur |
| Oct 12, 2026 | https://github.com/python/cpython/pull/155548#issuecomment-6134182051 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Oct 13, 2026 | https://github.com/python/cpython/pull/155548#issuecomment-6148150509 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/sankalpsthakur |
| sankalpsthakur | https://github.com/sankalpsthakur |
| Oct 13, 2026 | https://github.com/python/cpython/pull/155548#issuecomment-6150181697 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
|
| https://github.com/sankalpsthakur |
| Merge branch '3.15' into fix/154874-termattrs-backport-3.15 | https://github.com/python/cpython/pull/155548/commits/a85d8cf4a79b7ac96dd7c8047da8ed5dd76c8384 |
| a85d8cf | https://github.com/python/cpython/pull/155548/commits/a85d8cf4a79b7ac96dd7c8047da8ed5dd76c8384 |
| https://github.com/sankalpsthakur |
| sankalpsthakur | https://github.com/sankalpsthakur |
| force-pushed | https://github.com/python/cpython/compare/1ee1af27af57622ef46ae880cf8855c434116634..a85d8cf4a79b7ac96dd7c8047da8ed5dd76c8384 |
| 1ee1af2 | https://github.com/python/cpython/commit/1ee1af27af57622ef46ae880cf8855c434116634 |
| a85d8cf | https://github.com/python/cpython/commit/a85d8cf4a79b7ac96dd7c8047da8ed5dd76c8384 |
|
Compare
| https://github.com/python/cpython/compare/1ee1af27af57622ef46ae880cf8855c434116634..a85d8cf4a79b7ac96dd7c8047da8ed5dd76c8384 |
| October 13, 2026 16:33 | https://github.com/python/cpython/pull/155548#event-33152433252 |
|
| https://github.com/sankalpsthakur |
| retrigger ci | https://github.com/python/cpython/pull/155548/commits/f1374468db3b63aa22e46d9687830e4f3d53ce5f |
| f137446 | https://github.com/python/cpython/pull/155548/commits/f1374468db3b63aa22e46d9687830e4f3d53ce5f |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Nov 24, 2026
| https://github.com/python/cpython/pull/155548#pullrequestreview-6039069310 |
|
View reviewed changes
| https://github.com/python/cpython/pull/155548/files/f1374468db3b63aa22e46d9687830e4f3d53ce5f |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| https://github.com/python/cpython/pull/155548#pullrequestreview-6039069310 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#event-37127123077 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#event-37127142072 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| fe1f5a5 | https://github.com/python/cpython/commit/fe1f5a5a22c6168a522c3c36a3b62ab9ed3092be |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#event-37127248717 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#issuecomment-7131308336 |
| @sankalpsthakur | https://github.com/sankalpsthakur |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#event-37127255885 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#issuecomment-7131312772 |
| GH-162542 | https://github.com/python/cpython/pull/162542 |
| 3.14 branch | https://github.com/python/cpython/tree/3.14 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Nov 24, 2026 | https://github.com/python/cpython/pull/155548#event-37127275367 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Nov 24, 2026
| https://github.com/python/cpython/pull/155548#ref-pullrequest-6581653411 |
|
[3.14] gh-154874: Fix the sign of curses.termattrs() (GH-154875) (GH-155548)
#162542
| https://github.com/python/cpython/pull/162542 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155548 |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
| https://github.com/python/cpython/pull/155548/files/f1374468db3b63aa22e46d9687830e4f3d53ce5f |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
| Please reload this page | https://github.com/python/cpython/pull/155548 |
|
| https://github.com/sankalpsthakur |
|
| https://github.com/encukou |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/fedonman |
|
| 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 |