| 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:129c596f-c1b2-e74d-4f4b-c5d90937f10f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9688:25B5C6:4DC16E:6CC82C:696A22FD |
| html-safe-nonce | 9af6fde35aafc84b057d56751f360b62a3cdd32cca1fdbb4d52dabc31bd88ca0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njg4OjI1QjVDNjo0REMxNkU6NkNDODJDOjY5NkEyMkZEIiwidmlzaXRvcl9pZCI6IjMyMTM1NDQyMDM5MzI1NDE2OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ad2c107ca3fb1f47a75f54edabe3a04d94a3af96c945024a0f3e3f79940e0488 |
| hovercard-subject-tag | pull_request:3174364365 |
| 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/143840/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/16344f8f86cda0fb5fe75ed58247e99e1372049a71e945aebd1e2b858e5e0ccf/python/cpython/pull/143840 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16344f8f86cda0fb5fe75ed58247e99e1372049a71e945aebd1e2b858e5e0ccf/python/cpython/pull/143840 |
| og:image:alt | Summary
Corrects the PyLong_AsNativeBytes documentation to accurately describe buffer padding behavior
Changed "large buffers are padded with zeroes" to "remaining bytes filled by c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | moneebullah25 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| 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 | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/143840#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143840 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143840 |
|
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/143840 |
| Reload | https://github.com/python/cpython/pull/143840 |
| Reload | https://github.com/python/cpython/pull/143840 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| 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 |
| Jump to bottom | https://github.com/python/cpython/pull/143840#issue-comment-box |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| moneebullah25:fix-pylong-asnativebytes-docs | https://github.com/moneebullah25/cpython/tree/fix-pylong-asnativebytes-docs |
|
gh-143834: Fix PyLong_AsNativeBytes docs for negative number padding
| https://github.com/python/cpython/pull/143840#top |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| moneebullah25:fix-pylong-asnativebytes-docs | https://github.com/moneebullah25/cpython/tree/fix-pylong-asnativebytes-docs |
|
Conversation
3
| https://github.com/python/cpython/pull/143840 |
|
Commits
3
| https://github.com/python/cpython/pull/143840/commits |
|
Checks
39
| https://github.com/python/cpython/pull/143840/checks |
|
Files changed
| https://github.com/python/cpython/pull/143840/files |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/moneebullah25 |
| moneebullah25 | https://github.com/moneebullah25 |
| Jan 14, 2026 | https://github.com/python/cpython/pull/143840#issue-3814165561 |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| https://docs.python.org/3.15/c-api/long.html#c.PyLong_AsNativeBytes | https://docs.python.org/3.15/c-api/long.html#c.PyLong_AsNativeBytes |
| #143834 | https://github.com/python/cpython/issues/143834 |
| PyLong_AsNativeBytes documentation inaccuracy #143834 | https://github.com/python/cpython/issues/143834 |
| https://cpython-previews--143840.org.readthedocs.build/ | https://cpython-previews--143840.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| moneebullah25 | https://github.com/moneebullah25 |
| January 14, 2026 12:26 | https://github.com/python/cpython/pull/143840#commits-pushed-64508fc |
|
| https://github.com/moneebullah25 |
| pythongh-143834 | https://github.com/python/cpython/issues/143834 |
| : Fix PyLong_AsNativeBytes docs for negative number pa… | https://github.com/python/cpython/pull/143840/commits/64508fc6d611839f55d82ef7c3f64d41825b55f7 |
| 64508fc | https://github.com/python/cpython/pull/143840/commits/64508fc6d611839f55d82ef7c3f64d41825b55f7 |
|
| https://github.com/moneebullah25 |
| pythongh-143834 | https://github.com/python/cpython/issues/143834 |
| : Fix PyLong_AsNativeBytes docs for negative number pa… | https://github.com/python/cpython/pull/143840/commits/e73b60f1263647dca90e3ad2bd99d1003af6a7d0 |
| e73b60f | https://github.com/python/cpython/pull/143840/commits/e73b60f1263647dca90e3ad2bd99d1003af6a7d0 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Jan 14, 2026 | https://github.com/python/cpython/pull/143840#event-22049275563 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jan 14, 2026 | https://github.com/python/cpython/pull/143840#event-22049276619 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jan 14, 2026 | https://github.com/python/cpython/pull/143840#event-22049276813 |
| 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 |
| Jan 14, 2026 | https://github.com/python/cpython/pull/143840#event-22049276679 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jan 14, 2026
| https://github.com/python/cpython/pull/143840#ref-issue-3812867671 |
|
PyLong_AsNativeBytes documentation inaccuracy
#143834
| https://github.com/python/cpython/issues/143834 |
|
| https://github.com/moneebullah25 |
| lint fix | https://github.com/python/cpython/pull/143840/commits/1d81b04274b81c7781ec8c3270d4018d1df00564 |
| 1d81b04 | https://github.com/python/cpython/pull/143840/commits/1d81b04274b81c7781ec8c3270d4018d1df00564 |
| https://github.com/skirpichev |
| skirpichev | https://github.com/skirpichev |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22057047483 |
| https://github.com/skirpichev |
| skirpichev | https://github.com/skirpichev |
|
Jan 15, 2026
| https://github.com/python/cpython/pull/143840#pullrequestreview-3663430605 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143840/files/1d81b04274b81c7781ec8c3270d4018d1df00564 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22057050366 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| 421bd17 | https://github.com/python/cpython/commit/421bd1770a87d141f66754ae29e407589e44ce83 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22063325482 |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22063326741 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22063327513 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#issuecomment-3753475847 |
| @moneebullah25 | https://github.com/moneebullah25 |
| @encukou | https://github.com/encukou |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| miss-islington | https://github.com/miss-islington |
|
Jan 15, 2026
| https://github.com/python/cpython/pull/143840#ref-commit-667d55e |
|
| https://github.com/moneebullah25 |
|
| https://github.com/miss-islington |
| pythongh-143834 | https://github.com/python/cpython/issues/143834 |
| : Fix PyLong_AsNativeBytes docs for negative number pa… | https://github.com/miss-islington/cpython/commit/667d55e020c64ae493342ed940cb0b002965f440 |
| 667d55e | https://github.com/miss-islington/cpython/commit/667d55e020c64ae493342ed940cb0b002965f440 |
| pythonGH-143840 | https://github.com/python/cpython/pull/143840 |
| 421bd17 | https://github.com/miss-islington/cpython/commit/421bd1770a87d141f66754ae29e407589e44ce83 |
| miss-islington | https://github.com/miss-islington |
|
Jan 15, 2026
| https://github.com/python/cpython/pull/143840#ref-commit-8da196f |
|
| https://github.com/moneebullah25 |
|
| https://github.com/miss-islington |
| pythongh-143834 | https://github.com/python/cpython/issues/143834 |
| : Fix PyLong_AsNativeBytes docs for negative number pa… | https://github.com/miss-islington/cpython/commit/8da196f7fd1ec1c0320ed0cbeb183a67b8d2230a |
| 8da196f | https://github.com/miss-islington/cpython/commit/8da196f7fd1ec1c0320ed0cbeb183a67b8d2230a |
| pythonGH-143840 | https://github.com/python/cpython/pull/143840 |
| 421bd17 | https://github.com/miss-islington/cpython/commit/421bd1770a87d141f66754ae29e407589e44ce83 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#issuecomment-3753479098 |
| GH-143854 | https://github.com/python/cpython/pull/143854 |
| 3.14 branch | https://github.com/python/cpython/tree/3.14 |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| 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 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22063333754 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#issuecomment-3753479429 |
| GH-143855 | https://github.com/python/cpython/pull/143855 |
| 3.13 branch | https://github.com/python/cpython/tree/3.13 |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
| Jan 15, 2026 | https://github.com/python/cpython/pull/143840#event-22063334804 |
| encukou | https://github.com/encukou |
|
Jan 15, 2026
| https://github.com/python/cpython/pull/143840#ref-commit-2e49323 |
|
| https://github.com/miss-islington |
|
| https://github.com/moneebullah25 |
| [3.14] | https://github.com/python/cpython/commit/2e493239b14ee27646f30b818c987677ceb7551d |
| gh-143834 | https://github.com/python/cpython/issues/143834 |
| : Fix PyLong_AsNativeBytes docs for negative number p… | https://github.com/python/cpython/commit/2e493239b14ee27646f30b818c987677ceb7551d |
| 2e49323 | https://github.com/python/cpython/commit/2e493239b14ee27646f30b818c987677ceb7551d |
| GH-143840 | https://github.com/python/cpython/pull/143840 |
| GH-143854 | https://github.com/python/cpython/pull/143854 |
| 421bd17 | https://github.com/python/cpython/commit/421bd1770a87d141f66754ae29e407589e44ce83 |
| encukou | https://github.com/encukou |
|
Jan 15, 2026
| https://github.com/python/cpython/pull/143840#ref-commit-2516dd0 |
|
| https://github.com/miss-islington |
|
| https://github.com/moneebullah25 |
| [3.13] | https://github.com/python/cpython/commit/2516dd0d06754e5ddef080cc02386688c2fc1ba6 |
| gh-143834 | https://github.com/python/cpython/issues/143834 |
| : Fix PyLong_AsNativeBytes docs for negative number p… | https://github.com/python/cpython/commit/2516dd0d06754e5ddef080cc02386688c2fc1ba6 |
| 2516dd0 | https://github.com/python/cpython/commit/2516dd0d06754e5ddef080cc02386688c2fc1ba6 |
| GH-143840 | https://github.com/python/cpython/pull/143840 |
| GH-143855 | https://github.com/python/cpython/pull/143855 |
| 421bd17 | https://github.com/python/cpython/commit/421bd1770a87d141f66754ae29e407589e44ce83 |
| 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%2F143840 |
|
| https://github.com/skirpichev |
|
skirpichev
| https://github.com/skirpichev |
|
| https://github.com/python/cpython/pull/143840/files/1d81b04274b81c7781ec8c3270d4018d1df00564 |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
Docs PRs
| https://github.com/orgs/python/projects/50 |
|
PyLong_AsNativeBytes documentation inaccuracy
| https://github.com/python/cpython/issues/143834 |
| Please reload this page | https://github.com/python/cpython/pull/143840 |
|
| https://github.com/moneebullah25 |
|
| https://github.com/skirpichev |
|
| https://github.com/encukou |
|
| 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 |