| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d49f859b-43a8-a125-96c5-a06a3b3d84d3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AADE:F5E51:A7D30AC:AB37D64:6A50AF00 |
| html-safe-nonce | caa859e619396edb7fd613d6016a1e9841186d01a2c04f40e48346a8462aab61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQURFOkY1RTUxOkE3RDMwQUM6QUIzN0Q2NDo2QTUwQUYwMCIsInZpc2l0b3JfaWQiOiIyOTAyNTkyMTY2NjA0ODc3NTY4IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | f14e86386dff4142c86050f40a2bb6f536a5f5e2c1f37804ee86f4b7dfdec06c |
| hovercard-subject-tag | pull_request:2926829329 |
| 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/140302/files |
| twitter:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| og:image:alt | Per discussion in the issue, provide a SPEC_VERSION constant instead. CC @merwok @smontanaro
Issue: gh-76007
📚 Documentation preview 📚: https://cpython-previews--140302.org.readthedocs.build/ |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/140302/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140302%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F140302%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/140302/files |
| Reload | https://github.com/python/cpython/pull/140302/files |
| Reload | https://github.com/python/cpython/pull/140302/files |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| StanFromIreland:decimal-version | https://github.com/StanFromIreland/cpython/tree/decimal-version |
|
Conversation
33
| https://github.com/python/cpython/pull/140302 |
|
Commits
10
| https://github.com/python/cpython/pull/140302/commits |
|
Checks
43
| https://github.com/python/cpython/pull/140302/checks |
|
Files changed
| https://github.com/python/cpython/pull/140302/files |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
|
gh-76007: Deprecate __version__ attribute in decimal
| https://github.com/python/cpython/pull/140302/files#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/140302/files |
|
8c30b2c
Commit
StanFromIreland Oct 18, 2025
| https://github.com/python/cpython/pull/140302/commits/8c30b2cae8c4a3e6952cfcb881ae1a8d8f366366 |
|
d583f55
Commit
StanFromIreland Oct 18, 2025
| https://github.com/python/cpython/pull/140302/commits/d583f55e4c6ca4bff1b64f48d2266e5001a95daa |
|
61a43b9
Commit
StanFromIreland Oct 18, 2025
| https://github.com/python/cpython/pull/140302/commits/61a43b90775f4968483f46164c9f3760f2d7cec4 |
|
0a2a9fb
Correct version number
StanFromIreland Oct 18, 2025
| https://github.com/python/cpython/pull/140302/commits/0a2a9fbf486e899130328b940108bea36862dcbe |
|
9b43d7f
Apply suggestions from code review
StanFromIreland Oct 19, 2025
| https://github.com/python/cpython/pull/140302/commits/9b43d7fc71e0bbd5a6e96ba66f69021b6ce2d230 |
|
82ef916
Convert to macro
StanFromIreland Oct 19, 2025
| https://github.com/python/cpython/pull/140302/commits/82ef916249fcd13a392c51d85897dfcef7097243 |
|
16b7bc8
Add comment
StanFromIreland Oct 19, 2025
| https://github.com/python/cpython/pull/140302/commits/16b7bc869d5253ce8771b76859d59c2e49d19555 |
|
56a75e0
Relocate constant in doc
StanFromIreland Oct 19, 2025
| https://github.com/python/cpython/pull/140302/commits/56a75e0d807a47f4df29f16c0567693bff9454d6 |
|
dbebb28
Merge branch 'main' into decimal-version
hugovk Oct 20, 2025
| https://github.com/python/cpython/pull/140302/commits/dbebb2832e9e5e27f45ef8b6bffede14f016580d |
|
ba3295b
Apply suggestions from code review
StanFromIreland Oct 20, 2025
| https://github.com/python/cpython/pull/140302/commits/ba3295bbac65f0244513336274aedaaceedc742b |
|
Clear filters
| https://github.com/python/cpython/pull/140302/files |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
|
pending-removal-in-3.20.rst
| https://github.com/python/cpython/pull/140302/files#diff-2888a96b9d5084ea7843198342cec3672d2b3154876f4ac0360cc525d5fae694 |
|
decimal.rst
| https://github.com/python/cpython/pull/140302/files#diff-d8a17dd951457652b5c434d4da321636c7e6dfc9e42b77c58dd384a38824110a |
|
3.15.rst
| https://github.com/python/cpython/pull/140302/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
_pydecimal.py
| https://github.com/python/cpython/pull/140302/files#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
|
decimal.py
| https://github.com/python/cpython/pull/140302/files#diff-e6870d2a8163d1b63b33fd9a81eba8e34d44291e29f63024229433a097a0e383 |
|
test_decimal.py
| https://github.com/python/cpython/pull/140302/files#diff-0bf3efdde952043078e322013c2459632397c6a9b312d49e70ae4a9791e2a1d8 |
|
2025-10-18-15-20-25.gh-issue-76007.SNUzRq.rst
| https://github.com/python/cpython/pull/140302/files#diff-d40c00db5246586a439046904b97c6523be7f93261c51883dac1e26c4f8c63e6 |
|
_decimal.c
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
| Doc/deprecations/pending-removal-in-3.20.rst | https://github.com/python/cpython/pull/140302/files#diff-2888a96b9d5084ea7843198342cec3672d2b3154876f4ac0360cc525d5fae694 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Doc/deprecations/pending-removal-in-3.20.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-2888a96b9d5084ea7843198342cec3672d2b3154876f4ac0360cc525d5fae694 |
|
| https://github.com/python/cpython/pull/140302/files#diff-2888a96b9d5084ea7843198342cec3672d2b3154876f4ac0360cc525d5fae694 |
| Doc/library/decimal.rst | https://github.com/python/cpython/pull/140302/files#diff-d8a17dd951457652b5c434d4da321636c7e6dfc9e42b77c58dd384a38824110a |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Doc/library/decimal.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-d8a17dd951457652b5c434d4da321636c7e6dfc9e42b77c58dd384a38824110a |
|
| https://github.com/python/cpython/pull/140302/files#diff-d8a17dd951457652b5c434d4da321636c7e6dfc9e42b77c58dd384a38824110a |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/140302/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Doc/whatsnew/3.15.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
| https://github.com/python/cpython/pull/140302/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Lib/_pydecimal.py | https://github.com/python/cpython/pull/140302/files#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Lib/_pydecimal.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
|
| https://github.com/python/cpython/pull/140302/files#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
|
| https://github.com/python/cpython/pull/140302/files#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
| Lib/decimal.py | https://github.com/python/cpython/pull/140302/files#diff-e6870d2a8163d1b63b33fd9a81eba8e34d44291e29f63024229433a097a0e383 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Lib/decimal.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-e6870d2a8163d1b63b33fd9a81eba8e34d44291e29f63024229433a097a0e383 |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
|
| https://github.com/python/cpython/pull/140302/files#diff-e6870d2a8163d1b63b33fd9a81eba8e34d44291e29f63024229433a097a0e383 |
| Lib/test/test_decimal.py | https://github.com/python/cpython/pull/140302/files#diff-0bf3efdde952043078e322013c2459632397c6a9b312d49e70ae4a9791e2a1d8 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Lib/test/test_decimal.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-0bf3efdde952043078e322013c2459632397c6a9b312d49e70ae4a9791e2a1d8 |
|
| https://github.com/python/cpython/pull/140302/files#diff-0bf3efdde952043078e322013c2459632397c6a9b312d49e70ae4a9791e2a1d8 |
|
| https://github.com/python/cpython/pull/140302/files#diff-0bf3efdde952043078e322013c2459632397c6a9b312d49e70ae4a9791e2a1d8 |
|
| https://github.com/python/cpython/pull/140302/files#diff-0bf3efdde952043078e322013c2459632397c6a9b312d49e70ae4a9791e2a1d8 |
| Misc/NEWS.d/next/Library/2025-10-18-15-20-25.gh-issue-76007.SNUzRq.rst | https://github.com/python/cpython/pull/140302/files#diff-d40c00db5246586a439046904b97c6523be7f93261c51883dac1e26c4f8c63e6 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Misc/NEWS.d/next/Library/2025-10-18-15-20-25.gh-issue-76007.SNUzRq.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
| Modules/_decimal/_decimal.c | https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
View file
| https://github.com/StanFromIreland/cpython/blob/ba3295bbac65f0244513336274aedaaceedc742b/Modules/_decimal/_decimal.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/140302/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
| Please reload this page | https://github.com/python/cpython/pull/140302/files |
|
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
| https://github.com/python/cpython/pull/140302/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
| Please reload this page | https://github.com/python/cpython/pull/140302/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 |