René's URL Explorer Experiment


Title: bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' by markshannon · Pull Request #21714 · python/cpython · GitHub

Open Graph Title: bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' by markshannon · Pull Request #21714 · python/cpython

X Title: bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' by markshannon · Pull Request #21714 · python/cpython

Description: The motivation for this PR is to avoid errors when modifying compile.c. Setting the i_jabs and i_jrel fields of every instruction is error prone and unnecessary. https://bugs.python.org/issue41463

Open Graph Description: The motivation for this PR is to avoid errors when modifying compile.c. Setting the i_jabs and i_jrel fields of every instruction is error prone and unnecessary. https://bugs.python.org/issue41463

X Description: The motivation for this PR is to avoid errors when modifying compile.c. Setting the i_jabs and i_jrel fields of every instruction is error prone and unnecessary. https://bugs.python.org/issue41463

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

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:1d088889-4868-3100-ad7e-ccb1dc3c351a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD56A:9CED1:2A22E75:38C6C64:696AEACA
html-safe-nonce51bb47bf9a4207caf03d0e4ad1655a7ebb6e73610a8ab49b7d770ffadd8d5e8c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTZBOjlDRUQxOjJBMjJFNzU6MzhDNkM2NDo2OTZBRUFDQSIsInZpc2l0b3JfaWQiOiI3MjgzNzc1MjY5MDI3Nzg1NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1f8ca506c4352e5f8bfc5e08e2d4b1ad8449cbb7e05b5db003abc3cb0c78de9c
hovercard-subject-tagpull_request:462136545
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/21714/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f18cd79bdf26d0986bfe5e807205d33740dedd71d45d6941dfa166d764f1d275/python/cpython/pull/21714
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f18cd79bdf26d0986bfe5e807205d33740dedd71d45d6941dfa166d764f1d275/python/cpython/pull/21714
og:image:altThe motivation for this PR is to avoid errors when modifying compile.c. Setting the i_jabs and i_jrel fields of every instruction is error prone and unnecessary. https://bugs.python.org/issue41463
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/21714#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21714
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F21714
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/21714
Reloadhttps://github.com/python/cpython/pull/21714
Reloadhttps://github.com/python/cpython/pull/21714
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/21714
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 pagehttps://github.com/python/cpython/pull/21714
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/21714#issue-comment-box
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:remove-i-fieldshttps://github.com/markshannon/cpython/tree/remove-i-fields
bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' https://github.com/python/cpython/pull/21714#top
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:remove-i-fieldshttps://github.com/markshannon/cpython/tree/remove-i-fields
Conversation 8 https://github.com/python/cpython/pull/21714
Commits 3 https://github.com/python/cpython/pull/21714/commits
Checks 0 https://github.com/python/cpython/pull/21714/checks
Files changed https://github.com/python/cpython/pull/21714/files
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 3, 2020https://github.com/python/cpython/pull/21714#issue-672026479
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://bugs.python.org/issue41463https://bugs.python.org/issue41463
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/markshannon
Generate information about jumps from 'opcode.py' rather than duplica…https://github.com/python/cpython/pull/21714/commits/9728d2143080227e9b4b179cca2bb55f191799fa
9728d21https://github.com/python/cpython/pull/21714/commits/9728d2143080227e9b4b179cca2bb55f191799fa
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Aug 3, 2020https://github.com/python/cpython/pull/21714#event-3615609687
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 3, 2020https://github.com/python/cpython/pull/21714#event-3615609872
https://github.com/markshannon
markshannonhttps://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Aug 3, 2020https://github.com/python/cpython/pull/21714#event-3615611262
https://github.com/markshannon
markshannonhttps://github.com/markshannon
pablogsalhttps://github.com/pablogsal
August 4, 2020 10:01https://github.com/python/cpython/pull/21714#event-3619507246
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460702342
View reviewed changes https://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa
Python/compile.chttps://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
pablogsalhttps://github.com/pablogsal
Aug 4, 2020https://github.com/python/cpython/pull/21714#discussion_r464963887
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460702437
View reviewed changes https://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa
Python/compile.chttps://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
pablogsalhttps://github.com/pablogsal
Aug 4, 2020https://github.com/python/cpython/pull/21714#discussion_r464963970
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460702953
View reviewed changes https://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa
Python/compile.chttps://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
pablogsalhttps://github.com/pablogsal
Aug 4, 2020https://github.com/python/cpython/pull/21714#discussion_r464964371
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460703873
View reviewed changes https://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa
pablogsalhttps://github.com/pablogsal
https://github.com/python/cpython/pull/21714#pullrequestreview-460703873
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460704186
View reviewed changes https://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa
Python/compile.chttps://github.com/python/cpython/pull/21714/files/9728d2143080227e9b4b179cca2bb55f191799fa#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
pablogsalhttps://github.com/pablogsal
Aug 4, 2020https://github.com/python/cpython/pull/21714#discussion_r464965321
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/markshannon
Minor clarifications.https://github.com/python/cpython/pull/21714/commits/210e5824773cdd5b43c3b3b0e6e5738b3aeecf0e
210e582https://github.com/python/cpython/pull/21714/commits/210e5824773cdd5b43c3b3b0e6e5738b3aeecf0e
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460863561
View reviewed changes https://github.com/python/cpython/pull/21714/files/210e5824773cdd5b43c3b3b0e6e5738b3aeecf0e
Python/compile.chttps://github.com/python/cpython/pull/21714/files/210e5824773cdd5b43c3b3b0e6e5738b3aeecf0e#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
pablogsalhttps://github.com/pablogsal
Aug 4, 2020https://github.com/python/cpython/pull/21714#discussion_r465089548
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460863889
View reviewed changes https://github.com/python/cpython/pull/21714/files/210e5824773cdd5b43c3b3b0e6e5738b3aeecf0e
pablogsalhttps://github.com/pablogsal
https://github.com/python/cpython/pull/21714#pullrequestreview-460863889
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
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
Aug 4, 2020https://github.com/python/cpython/pull/21714#event-3620494253
https://github.com/markshannon
Clarify logic used to pick bit marking jumps.https://github.com/python/cpython/pull/21714/commits/5c6594cbd8184a75f6b0f292eb63f04683b66dea
5c6594chttps://github.com/python/cpython/pull/21714/commits/5c6594cbd8184a75f6b0f292eb63f04683b66dea
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 4, 2020 https://github.com/python/cpython/pull/21714#pullrequestreview-460930865
View reviewed changes https://github.com/python/cpython/pull/21714/files/5c6594cbd8184a75f6b0f292eb63f04683b66dea
pablogsalhttps://github.com/pablogsal
https://github.com/python/cpython/pull/21714#pullrequestreview-460930865
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21714
https://github.com/markshannon
markshannonhttps://github.com/markshannon
582aaf1https://github.com/python/cpython/commit/582aaf19e8b94a70c1f96792197770d604ba0fdf
Aug 4, 2020https://github.com/python/cpython/pull/21714#event-3621056375
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Aug 4, 2020https://github.com/python/cpython/pull/21714#event-3621056536
https://github.com/markshannon
markshannonhttps://github.com/markshannon
August 4, 2020 22:05https://github.com/python/cpython/pull/21714#event-3622193387
shihai1991https://github.com/shihai1991
Aug 20, 2020 https://github.com/python/cpython/pull/21714#ref-commit-fdaafe0
https://github.com/markshannon
https://github.com/shihai1991
bpo-41463: Generate information about jumps from 'opcode.py' rather t…https://github.com/shihai1991/cpython/commit/fdaafe03e3b9b06db016055427e074d58cc96621
fdaafe0https://github.com/shihai1991/cpython/commit/fdaafe03e3b9b06db016055427e074d58cc96621
pythonGH-21714https://github.com/python/cpython/pull/21714
xzy3https://github.com/xzy3
Oct 18, 2020 https://github.com/python/cpython/pull/21714#ref-commit-b47b85b
https://github.com/markshannon
bpo-41463: Generate information about jumps from 'opcode.py' rather t…https://github.com/xzy3/cpython/commit/b47b85baf46bd7818aa99f32342d8cba725a403e
b47b85bhttps://github.com/xzy3/cpython/commit/b47b85baf46bd7818aa99f32342d8cba725a403e
pythonGH-21714https://github.com/python/cpython/pull/21714
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%2F21714
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/21714/files/5c6594cbd8184a75f6b0f292eb63f04683b66dea
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/21714
https://github.com/markshannon
https://github.com/pablogsal
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.