René's URL Explorer Experiment


Title: gh-123657: Fix crash and refleak in `decimal.getcontext()` by neonene · Pull Request #123703 · python/cpython · GitHub

Open Graph Title: gh-123657: Fix crash and refleak in `decimal.getcontext()` by neonene · Pull Request #123703 · python/cpython

X Title: gh-123657: Fix crash and refleak in `decimal.getcontext()` by neonene · Pull Request #123703 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: decimal.getcontext crashes with --with-decimal-contextvar=no and -X showrefcount #123657

X Description: Issue: decimal.getcontext crashes with --with-decimal-contextvar=no and -X showrefcount #123657

Opengraph URL: https://github.com/python/cpython/pull/123703

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3e656bf4-958a-897b-3a50-4ff97549ae4c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB20:36611F:18EE864:20D3617:6B06769F
html-safe-nonce9d814cfd140617f1d893abdac584620d5cb0a1b84c9bb052d36323a074577c56
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjIwOjM2NjExRjoxOEVFODY0OjIwRDM2MTc6NkIwNjc2OUYiLCJ2aXNpdG9yX2lkIjoiNTkzMTI0MTM1OTU4MjU5MDYyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac52665f87e9956261d4170f6ad10c60cddeaf7b76b50161bda85cea7312ae45d3
hovercard-subject-tagpull_request:2054163668
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/123703/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/655a4486a0763e34a44ec45a8be6e4b9282ea33dcb213925c7c33f941cff05e2/python/cpython/pull/123703
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/655a4486a0763e34a44ec45a8be6e4b9282ea33dcb213925c7c33f941cff05e2/python/cpython/pull/123703
og:image:altIssue: decimal.getcontext crashes with --with-decimal-contextvar=no and -X showrefcount #123657
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameneonene
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/123703#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123703
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123703
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/123703
Reloadhttps://github.com/python/cpython/pull/123703
Reloadhttps://github.com/python/cpython/pull/123703
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
Conversationhttps://github.com/python/cpython/pull/123703
Commits6 (6)https://github.com/python/cpython/pull/123703/commits
Checkshttps://github.com/python/cpython/pull/123703/checks
Files changedhttps://github.com/python/cpython/pull/123703/files
gh-123657: Fix crash and refleak in decimal.getcontext()https://github.com/python/cpython/pull/123703#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
https://github.com/neonene
neonenehttps://github.com/neonene
Sep 4, 2024https://github.com/python/cpython/pull/123703#issue-2506131707
Please reload this pagehttps://github.com/python/cpython/pull/123703
decimal.getcontext crashes with --with-decimal-contextvar=no and -X showrefcount #123657https://github.com/python/cpython/issues/123657
Please reload this pagehttps://github.com/python/cpython/pull/123703
neonenehttps://github.com/neonene
September 5, 2024 04:21https://github.com/python/cpython/pull/123703#commits-pushed-f568939
https://github.com/neonene
fix crashhttps://github.com/python/cpython/pull/123703/commits/f56893944a81f0168dd82544d4a8dd0da7102c72
f568939https://github.com/python/cpython/pull/123703/commits/f56893944a81f0168dd82544d4a8dd0da7102c72
https://github.com/neonene
fix refleakhttps://github.com/python/cpython/pull/123703/commits/9a23672e549bb12237435b75a922b1f6a7da072f
9a23672https://github.com/python/cpython/pull/123703/commits/9a23672e549bb12237435b75a922b1f6a7da072f
https://github.com/neonene
NEWShttps://github.com/python/cpython/pull/123703/commits/286a9d258c5772b36869e3cbcadb671ced68710a
286a9d2https://github.com/python/cpython/pull/123703/commits/286a9d258c5772b36869e3cbcadb671ced68710a
https://github.com/neonene
neonenehttps://github.com/neonene
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/d83e30caddcbf9482273743d287577517ec735b7/.github/CODEOWNERS#L208
September 4, 2024 19:35https://github.com/python/cpython/pull/123703#event-14136243587
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 4, 2024https://github.com/python/cpython/pull/123703#event-14136244047
https://github.com/neonene
neonenehttps://github.com/neonene
Sep 4, 2024https://github.com/python/cpython/pull/123703#issuecomment-2329866116
@ZeroIntensityhttps://github.com/ZeroIntensity
@kumaraditya303https://github.com/kumaraditya303
@erlend-aaslandhttps://github.com/erlend-aasland
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 4, 2024https://github.com/python/cpython/pull/123703#issuecomment-2329868044
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 4, 2024 https://github.com/python/cpython/pull/123703#pullrequestreview-2281429046
View reviewed changes https://github.com/python/cpython/pull/123703/files/286a9d258c5772b36869e3cbcadb671ced68710a
ZeroIntensityhttps://github.com/ZeroIntensity
https://github.com/python/cpython/pull/123703#pullrequestreview-2281429046
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/apps/bedevere-app
bedevere-apphttps://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
Sep 4, 2024https://github.com/python/cpython/pull/123703#event-14137746784
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Sep 4, 2024https://github.com/python/cpython/pull/123703#issuecomment-2330227366
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
September 5, 2024 03:11https://github.com/python/cpython/pull/123703#event-14139959105
https://github.com/Eclips4
Eclips4https://github.com/Eclips4
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Sep 5, 2024https://github.com/python/cpython/pull/123703#event-14142446984
https://github.com/encukou
encukouhttps://github.com/encukou
Sep 5, 2024https://github.com/python/cpython/pull/123703#issuecomment-2331345291
Please reload this pagehttps://github.com/python/cpython/pull/123703
neonenehttps://github.com/neonene
September 5, 2024 21:45https://github.com/python/cpython/pull/123703#commits-pushed-3e5596e
https://github.com/neonene
fix leak in setcontext()https://github.com/python/cpython/pull/123703/commits/3e5596eb32a161df9f292befc60faf34eb18e366
3e5596ehttps://github.com/python/cpython/pull/123703/commits/3e5596eb32a161df9f292befc60faf34eb18e366
https://github.com/neonene
more explicit commenthttps://github.com/python/cpython/pull/123703/commits/82161d46f0f25876a6cff535a04a089cac055d02
82161d4https://github.com/python/cpython/pull/123703/commits/82161d46f0f25876a6cff535a04a089cac055d02
https://github.com/neonene
rewordhttps://github.com/python/cpython/pull/123703/commits/6a52179fb0cc1862e8921d2f55b1efe5e65ef430
6a52179https://github.com/python/cpython/pull/123703/commits/6a52179fb0cc1862e8921d2f55b1efe5e65ef430
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 6, 2024 https://github.com/python/cpython/pull/123703#ref-pullrequest-2484518898
gh-123284: fix _pylong decimal context creation #123285 https://github.com/python/cpython/pull/123285
https://github.com/encukou
encukouhttps://github.com/encukou
Sep 6, 2024 https://github.com/python/cpython/pull/123703#pullrequestreview-2286007869
View reviewed changes https://github.com/python/cpython/pull/123703/files/6a52179fb0cc1862e8921d2f55b1efe5e65ef430
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 6, 2024https://github.com/python/cpython/pull/123703#event-14160582193
https://github.com/encukou
encukouhttps://github.com/encukou
853588ehttps://github.com/python/cpython/commit/853588e24c907be158b3a08601797ea5b47a0eba
Sep 6, 2024https://github.com/python/cpython/pull/123703#event-14160590500
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 6, 2024https://github.com/python/cpython/pull/123703#issuecomment-2333831790
@neonenehttps://github.com/neonene
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 6, 2024https://github.com/python/cpython/pull/123703#event-14160590970
miss-islingtonhttps://github.com/miss-islington
Sep 6, 2024 https://github.com/python/cpython/pull/123703#ref-commit-3dc60af
https://github.com/neonene
https://github.com/miss-islington
pythongh-123657https://github.com/python/cpython/issues/123657
: Fix crash and refleak inhttps://github.com/miss-islington/cpython/commit/3dc60af97ed8b5a7e1d468932b44dba27d6cf7a4
decimal.getcontext()https://github.com/miss-islington/cpython/commit/3dc60af97ed8b5a7e1d468932b44dba27d6cf7a4
(https://github.com/miss-islington/cpython/commit/3dc60af97ed8b5a7e1d468932b44dba27d6cf7a4
pyt…https://github.com/python/cpython/pull/123703
3dc60afhttps://github.com/miss-islington/cpython/commit/3dc60af97ed8b5a7e1d468932b44dba27d6cf7a4
…honGH-123703https://github.com/python/cpython/pull/123703
853588ehttps://github.com/miss-islington/cpython/commit/853588e24c907be158b3a08601797ea5b47a0eba
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 6, 2024https://github.com/python/cpython/pull/123703#issuecomment-2333832043
GH-123774https://github.com/python/cpython/pull/123774
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/apps/bedevere-app
bedevere-apphttps://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
Sep 6, 2024https://github.com/python/cpython/pull/123703#event-14160592928
https://github.com/encukou
encukouhttps://github.com/encukou
Sep 6, 2024https://github.com/python/cpython/pull/123703#issuecomment-2333834678
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/neonene
neonenehttps://github.com/neonene
September 6, 2024 11:37https://github.com/python/cpython/pull/123703#event-14160820975
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 6, 2024https://github.com/python/cpython/pull/123703#issuecomment-2333887164
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/123703
encukouhttps://github.com/encukou
Sep 6, 2024 https://github.com/python/cpython/pull/123703#ref-commit-e443187
https://github.com/miss-islington
https://github.com/neonene
[3.13]https://github.com/python/cpython/commit/e443187fce52db1a757c672389256e69972df40d
gh-123657https://github.com/python/cpython/issues/123657
: Fix crash and refleak inhttps://github.com/python/cpython/commit/e443187fce52db1a757c672389256e69972df40d
decimal.getcontext()https://github.com/python/cpython/commit/e443187fce52db1a757c672389256e69972df40d
(https://github.com/python/cpython/commit/e443187fce52db1a757c672389256e69972df40d
GH…https://github.com/python/cpython/pull/123703
e443187https://github.com/python/cpython/commit/e443187fce52db1a757c672389256e69972df40d
…-123703https://github.com/python/cpython/pull/123703
GH-123774https://github.com/python/cpython/pull/123774
853588ehttps://github.com/python/cpython/commit/853588e24c907be158b3a08601797ea5b47a0eba
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123703
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/123703/files/6a52179fb0cc1862e8921d2f55b1efe5e65ef430
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/python/cpython/pull/123703/files/286a9d258c5772b36869e3cbcadb671ced68710a
Please reload this pagehttps://github.com/python/cpython/pull/123703
Please reload this pagehttps://github.com/python/cpython/pull/123703
https://github.com/neonene
https://github.com/ZeroIntensity
https://github.com/encukou
https://github.com/vstinner
https://github.com/Eclips4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.