René's URL Explorer Experiment


Title: gh-146442: Fix various bugs in compiler pipeline from bug report by A0su · Pull Request #146443 · python/cpython · GitHub

Open Graph Title: gh-146442: Fix various bugs in compiler pipeline from bug report by A0su · Pull Request #146443 · python/cpython

X Title: gh-146442: Fix various bugs in compiler pipeline from bug report by A0su · Pull Request #146443 · python/cpython

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

Open Graph Description: Compiler Pipeline (codegen + compile + symtable + flowgraph + assemble) | 6 FIX codegen.c (6,632 lines) — 4 FIX NULL deref + ref leak in codegen_setup_annotations_scope (line 716-720): PyLong_From...

X Description: Compiler Pipeline (codegen + compile + symtable + flowgraph + assemble) | 6 FIX codegen.c (6,632 lines) — 4 FIX NULL deref + ref leak in codegen_setup_annotations_scope (line 716-720): PyLong_From...

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

X: @github

direct link

Domain: github.com

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:9868fa79-2083-8a18-7390-ce9d64eb4bf4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCBD4:1960:57C425E:7B80FEA:6A5075C1
html-safe-nonce7954dfae23c0099c9ccb2e4cf0853d88d8881d6ba35b36ba23f8c9837dd7cbf7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkQ0OjE5NjA6NTdDNDI1RTo3QjgwRkVBOjZBNTA3NUMxIiwidmlzaXRvcl9pZCI6IjQxNzM3NDcxMTU3Nzg5MzAxMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac950032c4dc09fc5a52462bcdc0f2ceb05ad61ada032d9746c19e65ef5d3b7c0f
hovercard-subject-tagpull_request:3448829302
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/146443/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/627b88557a5d2a334ce7cb9f0891d63d08408eb27d4abc851301cfcf45071774/python/cpython/pull/146443
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/627b88557a5d2a334ce7cb9f0891d63d08408eb27d4abc851301cfcf45071774/python/cpython/pull/146443
og:image:altCompiler Pipeline (codegen + compile + symtable + flowgraph + assemble) | 6 FIX codegen.c (6,632 lines) — 4 FIX NULL deref + ref leak in codegen_setup_annotations_scope (line 716-720): PyLong_From...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameA0su
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146443#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146443
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F146443
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
Reloadhttps://github.com/python/cpython/pull/146443
Reloadhttps://github.com/python/cpython/pull/146443
Reloadhttps://github.com/python/cpython/pull/146443
Please reload this pagehttps://github.com/python/cpython/pull/146443
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146443
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
A0su:fix_error_handling_and_ref_leaks_in_compilerhttps://github.com/A0su/cpython/tree/fix_error_handling_and_ref_leaks_in_compiler
Conversationhttps://github.com/python/cpython/pull/146443
Commits4 (4)https://github.com/python/cpython/pull/146443/commits
Checkshttps://github.com/python/cpython/pull/146443/checks
Files changedhttps://github.com/python/cpython/pull/146443/files
gh-146442: Fix various bugs in compiler pipeline from bug reporthttps://github.com/python/cpython/pull/146443#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
A0su:fix_error_handling_and_ref_leaks_in_compilerhttps://github.com/A0su/cpython/tree/fix_error_handling_and_ref_leaks_in_compiler
https://github.com/A0su
A0suhttps://github.com/A0su
Mar 26, 2026https://github.com/python/cpython/pull/146443#issue-4140268117
Please reload this pagehttps://github.com/python/cpython/pull/146443
Umbrella issue: bugs found using cpython-review-toolkit #146102https://github.com/python/cpython/issues/146102
Fix various bugs in compiler pipeline from bug report #146442https://github.com/python/cpython/issues/146442
Please reload this pagehttps://github.com/python/cpython/pull/146443
A0suhttps://github.com/A0su
March 25, 2026 22:03https://github.com/python/cpython/pull/146443#commits-pushed-089c19b
https://github.com/A0su
fix null derefs, missing decrefs, and unchecked returns from bug reporthttps://github.com/python/cpython/pull/146443/commits/089c19b9268687355697d1c371a28867343f0ca1
089c19bhttps://github.com/python/cpython/pull/146443/commits/089c19b9268687355697d1c371a28867343f0ca1
https://github.com/A0su
add disclaimer for leaks in codegen_deferred_annotations_bodyhttps://github.com/python/cpython/pull/146443/commits/aff400a0b6ffe5e95caf56e3839019674f6c0682
aff400ahttps://github.com/python/cpython/pull/146443/commits/aff400a0b6ffe5e95caf56e3839019674f6c0682
https://github.com/A0su
A0suhttps://github.com/A0su
iritkatrielhttps://github.com/iritkatriel
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/8e1469c952fb9db57efdcdce459fd6f78fbaeea3/.github/CODEOWNERS#L231
March 26, 2026 03:45https://github.com/python/cpython/pull/146443#event-23916293199
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
Mar 26, 2026https://github.com/python/cpython/pull/146443#event-23916295426
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 26, 2026 https://github.com/python/cpython/pull/146443#ref-issue-4094189245
Umbrella issue: bugs found using cpython-review-toolkit #146102 https://github.com/python/cpython/issues/146102
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Mar 27, 2026https://github.com/python/cpython/pull/146443#event-23970778323
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 27, 2026 https://github.com/python/cpython/pull/146443#ref-issue-4140259727
Fix various bugs in compiler pipeline from bug report #146442 https://github.com/python/cpython/issues/146442
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 27, 2026 https://github.com/python/cpython/pull/146443#pullrequestreview-4020953933
View reviewed changes https://github.com/python/cpython/pull/146443/files/aff400a0b6ffe5e95caf56e3839019674f6c0682
Python/codegen.chttps://github.com/python/cpython/pull/146443/files/aff400a0b6ffe5e95caf56e3839019674f6c0682#diff-6d58b0ddc066ad12ebc378b62c4189335bd57c83aece11072c76fd86a78a1a4a
Please reload this pagehttps://github.com/python/cpython/pull/146443
Python/compile.chttps://github.com/python/cpython/pull/146443/files/aff400a0b6ffe5e95caf56e3839019674f6c0682#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
Please reload this pagehttps://github.com/python/cpython/pull/146443
Python/codegen.chttps://github.com/python/cpython/pull/146443/files/aff400a0b6ffe5e95caf56e3839019674f6c0682#diff-6d58b0ddc066ad12ebc378b62c4189335bd57c83aece11072c76fd86a78a1a4a
Please reload this pagehttps://github.com/python/cpython/pull/146443
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 27, 2026https://github.com/python/cpython/pull/146443#event-23971202794
A0suhttps://github.com/A0su
March 28, 2026 12:28https://github.com/python/cpython/pull/146443#commits-pushed-5b82b94
https://github.com/A0su
change to goto error in scope var cleanup and remove uncessary commentshttps://github.com/python/cpython/pull/146443/commits/5b82b9416e01def97aa2d4968ed7620efbaa3477
5b82b94https://github.com/python/cpython/pull/146443/commits/5b82b9416e01def97aa2d4968ed7620efbaa3477
https://github.com/A0su
trim trailing whitespacehttps://github.com/python/cpython/pull/146443/commits/af3a0f9c491d15b5ecbafda3f70e78c644684ac7
af3a0f9https://github.com/python/cpython/pull/146443/commits/af3a0f9c491d15b5ecbafda3f70e78c644684ac7
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 30, 2026 https://github.com/python/cpython/pull/146443#pullrequestreview-4033013919
View reviewed changes https://github.com/python/cpython/pull/146443/files/af3a0f9c491d15b5ecbafda3f70e78c644684ac7
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/146443#pullrequestreview-4033013919
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/146443
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 30, 2026https://github.com/python/cpython/pull/146443#event-24049869576
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
ca95e97https://github.com/python/cpython/commit/ca95e979d6c9c62696bf3c162ddc21eae841c804
Mar 30, 2026https://github.com/python/cpython/pull/146443#event-24049890096
Please reload this pagehttps://github.com/python/cpython/pull/146443
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
Mar 30, 2026https://github.com/python/cpython/pull/146443#event-24049892178
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 30, 2026 https://github.com/python/cpython/pull/146443#pullrequestreview-4033029207
View reviewed changes https://github.com/python/cpython/pull/146443/files/af3a0f9c491d15b5ecbafda3f70e78c644684ac7
Python/codegen.chttps://github.com/python/cpython/pull/146443/files/af3a0f9c491d15b5ecbafda3f70e78c644684ac7#diff-6d58b0ddc066ad12ebc378b62c4189335bd57c83aece11072c76fd86a78a1a4a
vstinnerhttps://github.com/vstinner
Mar 30, 2026https://github.com/python/cpython/pull/146443#discussion_r3011943933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/146443
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 30, 2026https://github.com/python/cpython/pull/146443#issuecomment-4157845398
Please reload this pagehttps://github.com/python/cpython/pull/146443
https://github.com/A0su
A0suhttps://github.com/A0su
Mar 30, 2026https://github.com/python/cpython/pull/146443#issuecomment-4157988509
Please reload this pagehttps://github.com/python/cpython/pull/146443
Please reload this pagehttps://github.com/python/cpython/pull/146443
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 30, 2026https://github.com/python/cpython/pull/146443#issuecomment-4158038963
Please reload this pagehttps://github.com/python/cpython/pull/146443
https://github.com/A0su
A0suhttps://github.com/A0su
Mar 31, 2026https://github.com/python/cpython/pull/146443#issuecomment-4159645849
Please reload this pagehttps://github.com/python/cpython/pull/146443
maurycyhttps://github.com/maurycy
Mar 31, 2026 https://github.com/python/cpython/pull/146443#ref-commit-9836ffa
https://github.com/maurycy
Merge branch 'main' into tachyon-ndjson-kolektorhttps://github.com/maurycy/cpython/commit/9836ffa6ed66864138af8678a599de87f5f891f2
9836ffahttps://github.com/maurycy/cpython/commit/9836ffa6ed66864138af8678a599de87f5f891f2
pythongh-145458https://github.com/python/cpython/issues/145458
python#145459https://github.com/python/cpython/pull/145459
pythongh-146615https://github.com/python/cpython/issues/146615
pythonGH-146620https://github.com/python/cpython/pull/146620
pythongh-146615https://github.com/python/cpython/issues/146615
pythonGH-146619https://github.com/python/cpython/pull/146619
pythongh-146615https://github.com/python/cpython/issues/146615
pythonGH-146618https://github.com/python/cpython/pull/146618
pythongh-146615https://github.com/python/cpython/issues/146615
pythonGH-146617https://github.com/python/cpython/pull/146617
pythongh-146615https://github.com/python/cpython/issues/146615
pythonGH-146634https://github.com/python/cpython/pull/146634
pythongh-146376https://github.com/python/cpython/issues/146376
python#146378https://github.com/python/cpython/pull/146378
pythongh-146442https://github.com/python/cpython/issues/146442
python#146443https://github.com/python/cpython/pull/146443
pythongh-146238https://github.com/python/cpython/issues/146238
python#146242https://github.com/python/cpython/pull/146242
pythongh-145056https://github.com/python/cpython/issues/145056
pythonGH-146465https://github.com/python/cpython/pull/146465
pythongh-145056https://github.com/python/cpython/issues/145056
pythonGH-146466https://github.com/python/cpython/pull/146466
pythongh-139633https://github.com/python/cpython/issues/139633
pythonGH-139634https://github.com/python/cpython/pull/139634
https://github.com/A0su
A0suhttps://github.com/A0su
Apr 3, 2026 https://github.com/python/cpython/pull/146443#ref-issue-4202377121
Refactor codegen_deferred_annotations_body to ensure mangled is decref'd #148059 https://github.com/python/cpython/issues/148059
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 4, 2026 https://github.com/python/cpython/pull/146443#ref-pullrequest-3716338400
gh-130273: Fix traceback color output with unicode characters #142529 https://github.com/python/cpython/pull/142529
clin1234https://github.com/clin1234
Apr 16, 2026 https://github.com/python/cpython/pull/146443#ref-commit-a82862c
https://github.com/A0su
https://github.com/clin1234
pythongh-146442https://github.com/python/cpython/issues/146442
: Fix various bugs in compiler pipeline (https://github.com/clin1234/cpython/commit/a82862c6395a26cfcd81ad8779849027ebf5c5bd
python#146443https://github.com/python/cpython/pull/146443
)https://github.com/clin1234/cpython/commit/a82862c6395a26cfcd81ad8779849027ebf5c5bd
a82862chttps://github.com/clin1234/cpython/commit/a82862c6395a26cfcd81ad8779849027ebf5c5bd
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/146443#ref-commit-edb1b9b
https://github.com/A0su
https://github.com/ljfp
pythongh-146442https://github.com/python/cpython/issues/146442
: Fix various bugs in compiler pipeline (https://github.com/ljfp/cpython/commit/edb1b9b95787fe61de0d23471cec5af3e960162c
python#146443https://github.com/python/cpython/pull/146443
)https://github.com/ljfp/cpython/commit/edb1b9b95787fe61de0d23471cec5af3e960162c
edb1b9bhttps://github.com/ljfp/cpython/commit/edb1b9b95787fe61de0d23471cec5af3e960162c
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%2F146443
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/146443/files/af3a0f9c491d15b5ecbafda3f70e78c644684ac7
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/146443
https://github.com/A0su
https://github.com/vstinner
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

Viewport: width=device-width


URLs of crawlers that visited me.