| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c4a630ce-e1ee-695f-c98d-36ac22f565c1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8AAA:861EA:17B9C74:1FDD4E5:6969BCBB |
| html-safe-nonce | bcafaa617ec930735dff29f91f21749671f49dfe2474d1bb408c21337897eb22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUFBOjg2MUVBOjE3QjlDNzQ6MUZERDRFNTo2OTY5QkNCQiIsInZpc2l0b3JfaWQiOiI3MjE1MTgwOTY2MDgwOTIwNzYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 36ea0add925513f27d95c3cb222c75a318d0641e23a84421b3eaf362a96a308f |
| hovercard-subject-tag | pull_request:1306548698 |
| 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/103381/files |
| twitter:image | https://avatars.githubusercontent.com/u/68189100?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68189100?s=400&v=4 |
| og:image:alt | This PR is based on @erlend-aasland 's great work. Currently, most of the test cases can be passed, but still some work needs to be done. I make this PR as a draft so anyone can remind me of mi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103381/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103381%2Ffiles |
| 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%2F103381%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/103381/files |
| Reload | https://github.com/python/cpython/pull/103381/files |
| Reload | https://github.com/python/cpython/pull/103381/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103381/files |
|
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/103381/files |
|
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 |
| CharlieZhao95 | https://github.com/CharlieZhao95 |
| python:main | https://github.com/python/cpython/tree/main |
| CharlieZhao95:isolate-decimal | https://github.com/CharlieZhao95/cpython/tree/isolate-decimal |
|
Conversation
13
| https://github.com/python/cpython/pull/103381 |
|
Commits
30
| https://github.com/python/cpython/pull/103381/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103381/checks |
|
Files changed
| https://github.com/python/cpython/pull/103381/files |
| Please reload this page | https://github.com/python/cpython/pull/103381/files |
|
gh-103092: Isolate _decimal
| https://github.com/python/cpython/pull/103381/files#top |
|
Show all changes
30 commits
| https://github.com/python/cpython/pull/103381/files |
|
60902dd
Establish global state
erlend-aasland Mar 12, 2023
| https://github.com/python/cpython/pull/103381/commits/60902dd614acf67f15459b4373fece832244dbda |
|
fa06750
Adapt PyDecContextManager_Type to heap type and add it to state
erlend-aasland Mar 12, 2023
| https://github.com/python/cpython/pull/103381/commits/fa06750b7ad6926130c0a2ef90d0f3c491d17bd1 |
|
f19c14c
fixup! Adapt PyDecContextManager_Type to heap type and add it to state
erlend-aasland Mar 12, 2023
| https://github.com/python/cpython/pull/103381/commits/f19c14cbdc1db67639770afca06ccc5c830a28af |
|
cde5da9
Adapt PyDecContext_Type to heap type and add it to state
erlend-aasland Mar 12, 2023
| https://github.com/python/cpython/pull/103381/commits/cde5da93138f1ac519b7fe3c863d772dccbd108c |
|
90955ab
Adapt PyDecSignalDictMixin_Type to heap type and add it to state
erlend-aasland Mar 12, 2023
| https://github.com/python/cpython/pull/103381/commits/90955ab252054a271f59dc8b0d19b29bc708ab87 |
|
ae2ac48
fixup! Adapt PyDecSignalDictMixin_Type to heap type and add it to state
erlend-aasland Mar 12, 2023
| https://github.com/python/cpython/pull/103381/commits/ae2ac48e99162db477915424c14d51c3ae4a59ee |
|
eee3ef7
Adapt and add PyDec_Type & PyDecSignalDict_Type
erlend-aasland Mar 14, 2023
| https://github.com/python/cpython/pull/103381/commits/eee3ef746abb8f590fcca8cee694fe27c0d4d69a |
|
f9c3573
Add DecimalTuple to state
erlend-aasland Mar 14, 2023
| https://github.com/python/cpython/pull/103381/commits/f9c3573c7d0f2d497d0e6bd3e901e23892042e65 |
|
57316db
fixup! Add DecimalTuple to state
erlend-aasland Mar 14, 2023
| https://github.com/python/cpython/pull/103381/commits/57316db77b9ad85463d7bd85c7630853406f555a |
|
30e4128
Add DecimalException to state
erlend-aasland Mar 14, 2023
| https://github.com/python/cpython/pull/103381/commits/30e4128c68b2a12455d4dc92bc948f398afe9882 |
|
f92e385
fixup! Add DecimalException to state
erlend-aasland Mar 14, 2023
| https://github.com/python/cpython/pull/103381/commits/f92e385c974514a75ed0e144f315f90f605125c5 |
|
8b6c0c7
Add `basic_context_template` to state
CharlieZhao95 Mar 30, 2023
| https://github.com/python/cpython/pull/103381/commits/8b6c0c70b1a7f5a0306285a315a4f647e1bc1073 |
|
2ea6d98
Add `extended_context_template` to state
CharlieZhao95 Mar 30, 2023
| https://github.com/python/cpython/pull/103381/commits/2ea6d98cf2c995f9ef0cfcacd413d69e772cd52c |
|
7bf48be
Add `default_context_template` to state
CharlieZhao95 Mar 30, 2023
| https://github.com/python/cpython/pull/103381/commits/7bf48be862091791fa7d58efff724e51fbc8c640 |
|
cd41d2c
Add context var to state
CharlieZhao95 Mar 31, 2023
| https://github.com/python/cpython/pull/103381/commits/cd41d2c034024fa1105a90f091c374ed6947f373 |
|
44b0843
fixup! Add default_context_template to state
CharlieZhao95 Mar 31, 2023
| https://github.com/python/cpython/pull/103381/commits/44b08438b8fd37b80cc32beb334a5f37c771ba28 |
|
db7b988
Add round_map to state
CharlieZhao95 Mar 31, 2023
| https://github.com/python/cpython/pull/103381/commits/db7b9885093df325b1ad096b56593e3d4456dc5a |
|
86170a2
Add `Rational` and `SignalTuple` to state
CharlieZhao95 Mar 31, 2023
| https://github.com/python/cpython/pull/103381/commits/86170a2f306dec8fbc653fca5051b449c21e3c99 |
|
bc8df8f
Add external C-API functions to state
CharlieZhao95 Apr 3, 2023
| https://github.com/python/cpython/pull/103381/commits/bc8df8fd726a8aaacd90d41e476d78edb7c4c13b |
|
4ff1074
port _decimal module to multi-initialization
CharlieZhao95 Apr 3, 2023
| https://github.com/python/cpython/pull/103381/commits/4ff1074b2c964e2dc09b4d0b2a0389339612b2a4 |
|
8fba9e8
Move global state to module state
CharlieZhao95 Apr 3, 2023
| https://github.com/python/cpython/pull/103381/commits/8fba9e87431f9e9f1228a9a4043a610bb8579347 |
|
be7fa2a
Add `signal_map` to state to fix error in `decimal.Context`.
CharlieZhao95 Apr 8, 2023
| https://github.com/python/cpython/pull/103381/commits/be7fa2aebb827da9664cf31ebe1100f01b9df5e8 |
|
b130f56
solve warnings and remove redundant code
CharlieZhao95 Apr 11, 2023
| https://github.com/python/cpython/pull/103381/commits/b130f56bd978f1a4e8845a6705deb9fdbddb1b72 |
|
39fe618
Merge branch 'main' into isolate-decimal
erlend-aasland Apr 14, 2023
| https://github.com/python/cpython/pull/103381/commits/39fe61840f898b9d1e0b7a3014b167f69bc172f9 |
|
a81da37
remove NDEBUG and static-local variables
CharlieZhao95 Apr 20, 2023
| https://github.com/python/cpython/pull/103381/commits/a81da377c43d8a868f0de5cf8407403b01d71f6b |
|
6638ca7
Add a NEWS entry.
CharlieZhao95 Apr 21, 2023
| https://github.com/python/cpython/pull/103381/commits/6638ca7ab2d90ff7d71192bcc68c1ad98ce2af80 |
|
7b05a94
Merge remote-tracking branch 'upstream/main' into isolate-decimal
CharlieZhao95 May 25, 2023
| https://github.com/python/cpython/pull/103381/commits/7b05a949e4530ce4db6d342642544271e9d87337 |
|
68473a0
Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
CharlieZhao95 May 25, 2023
| https://github.com/python/cpython/pull/103381/commits/68473a0356366a4c5811508bf5192f63e510a7ad |
|
e00dc55
Merge branch 'main' into isolate-decimal
kumaraditya303 May 28, 2023
| https://github.com/python/cpython/pull/103381/commits/e00dc55d54c8e9756e8af225c471365e69711f92 |
|
58f0049
Update Modules/_decimal/_decimal.c
CharlieZhao95 May 28, 2023
| https://github.com/python/cpython/pull/103381/commits/58f0049dee98eb53f8217163f298534bf7145ab3 |
|
Clear filters
| https://github.com/python/cpython/pull/103381/files |
| Please reload this page | https://github.com/python/cpython/pull/103381/files |
| Please reload this page | https://github.com/python/cpython/pull/103381/files |
|
2023-04-20-20-27-20.gh-issue-103092.vVf2IH.rst
| https://github.com/python/cpython/pull/103381/files#diff-dc5893e13f2980e9130fe8ef5317ebd4c796e9b3df79424d35d5b40d29770e2c |
|
_decimal.c
| https://github.com/python/cpython/pull/103381/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
globals-to-fix.tsv
| https://github.com/python/cpython/pull/103381/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19 |
| Misc/NEWS.d/next/Core and Builtins/2023-04-20-20-27-20.gh-issue-103092.vVf2IH.rst | https://github.com/python/cpython/pull/103381/files#diff-dc5893e13f2980e9130fe8ef5317ebd4c796e9b3df79424d35d5b40d29770e2c |
|
View file
| https://github.com/CharlieZhao95/cpython/blob/58f0049dee98eb53f8217163f298534bf7145ab3/Misc/NEWS.d/next/Core%20and%20Builtins/2023-04-20-20-27-20.gh-issue-103092.vVf2IH.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/103381/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/103381/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 |