| 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:e832d861-0fc1-01c4-2cf2-818d824a5f13 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB42:110357:794A41:9E868C:6B025B32 |
| html-safe-nonce | f3772c6e3759d1996a247453f022884f133315169d6f2ab473f908741ff57c50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjQyOjExMDM1Nzo3OTRBNDE6OUU4NjhDOjZCMDI1QjMyIiwidmlzaXRvcl9pZCI6IjI4MDE0ODU3ODg5MDUzNjQyNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 686f24a86a43f84afd6d331a6da8a2c62aca22bc84ffb3d38481ccb68f6078e1 |
| hovercard-subject-tag | pull_request:3774950357 |
| 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/150639/files |
| twitter:image | https://avatars.githubusercontent.com/u/883786?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/883786?s=400&v=4 |
| og:image:alt | _match_number_unicode() (the C accelerator behind json.loads) previously allocated a PyBytes object for every number, copied the digits into it, and then called the generic PyLong_FromString / PyFl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/150639/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150639%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%2F150639%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/150639/files |
| Reload | https://github.com/python/cpython/pull/150639/files |
| Reload | https://github.com/python/cpython/pull/150639/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 |
| eendebakpt | https://github.com/eendebakpt |
| python:main | https://github.com/python/cpython/tree/main |
| eendebakpt:json-loads-opt | https://github.com/eendebakpt/cpython/tree/json-loads-opt |
|
Conversation
10
| https://github.com/python/cpython/pull/150639 |
|
Commits
18
| https://github.com/python/cpython/pull/150639/commits |
|
Checks
53
| https://github.com/python/cpython/pull/150639/checks |
|
Files changed
| https://github.com/python/cpython/pull/150639/files |
| Please reload this page | https://github.com/python/cpython/pull/150639/files |
|
gh-150638: Improve performance of json.loads and json.load for numeric data
| https://github.com/python/cpython/pull/150639/files#top |
|
Show all changes
18 commits
| https://github.com/python/cpython/pull/150639/files |
|
9010aac
gh-XXXXX: Speed up json.loads number parsing
eendebakpt May 30, 2026
| https://github.com/python/cpython/pull/150639/commits/9010aac9cf93f1b5c9061ead6662c93eed3b83a5 |
|
b001f96
📜🤖 Added by blurb_it.
blurb-it[bot] May 30, 2026
| https://github.com/python/cpython/pull/150639/commits/b001f9628cee789f923936b5a40dbe9938ae4ae7 |
|
17d1971
gh-XXXXX: Add tests for json.loads number parsing edge cases
eendebakpt May 30, 2026
| https://github.com/python/cpython/pull/150639/commits/17d19712ec9f742a2a27c40aca1e4c7295878e4a |
|
43f14d2
Merge remote-tracking branch 'origin/main' into json-loads-opt
eendebakpt May 30, 2026
| https://github.com/python/cpython/pull/150639/commits/43f14d23eb97a3cb5e3d8427adcab341fd276ee9 |
|
b0c486f
Merge remote-tracking branch 'pte/json-loads-opt' into json-loads-opt
eendebakpt May 30, 2026
| https://github.com/python/cpython/pull/150639/commits/b0c486ffa014a7330dcf17b83d6aed9e14d4ae81 |
|
397f3e4
review comments
eendebakpt Jun 11, 2026
| https://github.com/python/cpython/pull/150639/commits/397f3e4febbe611517517c477109be10335e7306 |
|
a1b47fe
Merge branch 'main' into json-loads-opt
eendebakpt Jun 11, 2026
| https://github.com/python/cpython/pull/150639/commits/a1b47fec841b5766d8cb9c797b4eb8040b7c5757 |
|
57b4dc0
pep7
eendebakpt Jun 15, 2026
| https://github.com/python/cpython/pull/150639/commits/57b4dc016e62ad84d04eb7257ec75bc606e2299d |
|
22f1cbf
Merge branch 'main' into json-loads-opt
eendebakpt Jun 15, 2026
| https://github.com/python/cpython/pull/150639/commits/22f1cbfb891e2136edb97da0072a3a39efeac0fb |
|
b5f5fc0
Apply suggestion from @eendebakpt
eendebakpt Jun 15, 2026
| https://github.com/python/cpython/pull/150639/commits/b5f5fc0a8a4926d7f5553c44bdd96487e349f8fc |
|
d3cc3a7
Merge remote-tracking branch 'origin/main' into json-loads-opt
eendebakpt Aug 5, 2026
| https://github.com/python/cpython/pull/150639/commits/d3cc3a7d8a01b15a0a11baa80b95e9463d8ff4c7 |
|
45fac46
Merge branch 'json-loads-opt' into HEAD
eendebakpt Aug 5, 2026
| https://github.com/python/cpython/pull/150639/commits/45fac46fd0016868107346a7469d3614d0f7c98b |
|
c14d806
pep7
eendebakpt Aug 5, 2026
| https://github.com/python/cpython/pull/150639/commits/c14d8063e303475af844b3e291c9622b023bd036 |
|
f84dec8
Use PyMem_Malloc() instead of a temporary bytes object for long numbers
eendebakpt Sep 19, 2026
| https://github.com/python/cpython/pull/150639/commits/f84dec868b28a16364786cf3b8281668519406e0 |
|
6ec3ecd
Merge branch 'main' into json-loads-opt
eendebakpt Sep 21, 2026
| https://github.com/python/cpython/pull/150639/commits/6ec3ecdfcfdd5d4810fb67bfd3323865f9dd9e60 |
|
ac137b7
Use signed accumulation for negative integers in the fast path
eendebakpt Oct 19, 2026
| https://github.com/python/cpython/pull/150639/commits/ac137b707d682ea2ba68c2ac48c008d5540fc116 |
|
fb4cd67
Merge branch 'main' into json-loads-opt
eendebakpt Oct 19, 2026
| https://github.com/python/cpython/pull/150639/commits/fb4cd679b67c5d1ebd7873bed492c6d9cd4e9331 |
|
8c6aeb8
Merge branch 'main' into json-loads-opt
eendebakpt Nov 9, 2026
| https://github.com/python/cpython/pull/150639/commits/8c6aeb8c4b4ddf4d0c0920d2de2b4623ecafbccd |
|
Clear filters
| https://github.com/python/cpython/pull/150639/files |
| Please reload this page | https://github.com/python/cpython/pull/150639/files |
| Please reload this page | https://github.com/python/cpython/pull/150639/files |
|
test_decode.py
| https://github.com/python/cpython/pull/150639/files#diff-bb9c9520a9c6971128d292b093d2ac0edce145a51e182d514b783d90cb25e8e2 |
|
2026-05-30-21-22-38.gh-issue-150638.LWR0QQ.rst
| https://github.com/python/cpython/pull/150639/files#diff-931998b3ac7ac1561b5b60b73c26e9c451110c6bac47038c1b3f508d029374fc |
|
_json.c
| https://github.com/python/cpython/pull/150639/files#diff-efe183ae0b85e5b8d9bbbc588452dd4de80b39fd5c5174ee499ba554217a39ed |
| Lib/test/test_json/test_decode.py | https://github.com/python/cpython/pull/150639/files#diff-bb9c9520a9c6971128d292b093d2ac0edce145a51e182d514b783d90cb25e8e2 |
|
View file
| https://github.com/python/cpython/blob/8c6aeb8c4b4ddf4d0c0920d2de2b4623ecafbccd/Lib/test/test_json/test_decode.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150639/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150639/files#diff-bb9c9520a9c6971128d292b093d2ac0edce145a51e182d514b783d90cb25e8e2 |
|
| https://github.com/python/cpython/pull/150639/files#diff-bb9c9520a9c6971128d292b093d2ac0edce145a51e182d514b783d90cb25e8e2 |
| Misc/NEWS.d/next/Library/2026-05-30-21-22-38.gh-issue-150638.LWR0QQ.rst | https://github.com/python/cpython/pull/150639/files#diff-931998b3ac7ac1561b5b60b73c26e9c451110c6bac47038c1b3f508d029374fc |
|
View file
| https://github.com/python/cpython/blob/8c6aeb8c4b4ddf4d0c0920d2de2b4623ecafbccd/Misc/NEWS.d/next/Library/2026-05-30-21-22-38.gh-issue-150638.LWR0QQ.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150639/{{ revealButtonHref }} |
| Modules/_json.c | https://github.com/python/cpython/pull/150639/files#diff-efe183ae0b85e5b8d9bbbc588452dd4de80b39fd5c5174ee499ba554217a39ed |
|
View file
| https://github.com/python/cpython/blob/8c6aeb8c4b4ddf4d0c0920d2de2b4623ecafbccd/Modules/_json.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150639/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150639/files#diff-efe183ae0b85e5b8d9bbbc588452dd4de80b39fd5c5174ee499ba554217a39ed |
|
| https://github.com/python/cpython/pull/150639/files#diff-efe183ae0b85e5b8d9bbbc588452dd4de80b39fd5c5174ee499ba554217a39ed |
|
| https://github.com/python/cpython/pull/150639/files#diff-efe183ae0b85e5b8d9bbbc588452dd4de80b39fd5c5174ee499ba554217a39ed |
|
| https://github.com/python/cpython/pull/150639/files#diff-efe183ae0b85e5b8d9bbbc588452dd4de80b39fd5c5174ee499ba554217a39ed |
| Please reload this page | https://github.com/python/cpython/pull/150639/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 |