René's URL Explorer Experiment


Title: GH-98522: Add version number to code objects, to provide better version numbers for closures and comprehensions. by markshannon · Pull Request #98525 · python/cpython · GitHub

Open Graph Title: GH-98522: Add version number to code objects, to provide better version numbers for closures and comprehensions. by markshannon · Pull Request #98525 · python/cpython

X Title: GH-98522: Add version number to code objects, to provide better version numbers for closures and comprehensions. by markshannon · Pull Request #98525 · python/cpython

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

Open Graph Description: Measured performance impact might be positive but is too close to noise to be meaningful. Issue: Add a version number to code objects #98522

X Description: Measured performance impact might be positive but is too close to noise to be meaningful. Issue: Add a version number to code objects #98522

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

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:f59f5a6e-a88a-fd5f-2e07-eb2d190cb23f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8920:1C4B9:2240974:31159ED:6A5666F2
html-safe-nonce3adbbbb0b772c33830c8de075662e54dc14c967a1e2aefb6f95106ff293afd88
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTIwOjFDNEI5OjIyNDA5NzQ6MzExNTlFRDo2QTU2NjZGMiIsInZpc2l0b3JfaWQiOiIzMzUyNDU0ODU4MDI4NzcxMDU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdde4f00c9fecf08754e8d7ef44b6fd95e84730befe8827de50e04e2500fa3d1c
hovercard-subject-tagpull_request:1095561112
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/98525/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a54b2418ae3ab457ad58b2b1469a9a2f38e0bdb00b1305a3f878a39148b2ea1c/python/cpython/pull/98525
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a54b2418ae3ab457ad58b2b1469a9a2f38e0bdb00b1305a3f878a39148b2ea1c/python/cpython/pull/98525
og:image:altMeasured performance impact might be positive but is too close to noise to be meaningful. Issue: Add a version number to code objects #98522
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None1bfcd903bf3318822b10b18a6332fac40d3a21f7d94456dca766ab8fa7328068
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
release37f446b78ad53e6f593aa1a4243b87c76a3428ab
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/98525#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F98525
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%2F98525
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/98525
Reloadhttps://github.com/python/cpython/pull/98525
Reloadhttps://github.com/python/cpython/pull/98525
Please reload this pagehttps://github.com/python/cpython/pull/98525
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/98525
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:code-versionhttps://github.com/faster-cpython/cpython/tree/code-version
Conversationhttps://github.com/python/cpython/pull/98525
Commits6 (6)https://github.com/python/cpython/pull/98525/commits
Checkshttps://github.com/python/cpython/pull/98525/checks
Files changedhttps://github.com/python/cpython/pull/98525/files
GH-98522: Add version number to code objects, to provide better version numbers for closures and comprehensions.https://github.com/python/cpython/pull/98525#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:code-versionhttps://github.com/faster-cpython/cpython/tree/code-version
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 21, 2022https://github.com/python/cpython/pull/98525#issue-1418603907
Please reload this pagehttps://github.com/python/cpython/pull/98525
might be positivehttps://gist.github.com/markshannon/181ac95ce5b543ba5cafd43677829266
Add a version number to code objects #98522https://github.com/python/cpython/issues/98522
Please reload this pagehttps://github.com/python/cpython/pull/98525
markshannonhttps://github.com/markshannon
October 21, 2022 16:08https://github.com/python/cpython/pull/98525#commits-pushed-d1e02c4
https://github.com/markshannon
Add version number to code object for better versioning of functions.https://github.com/python/cpython/pull/98525/commits/d1e02c48ffd9312350eeeaf0c584bc6bee329785
d1e02c4https://github.com/python/cpython/pull/98525/commits/d1e02c48ffd9312350eeeaf0c584bc6bee329785
https://github.com/markshannon
Add newshttps://github.com/python/cpython/pull/98525/commits/004b13250ff23166d35f58f5b60f3ff2be04727a
004b132https://github.com/python/cpython/pull/98525/commits/004b13250ff23166d35f58f5b60f3ff2be04727a
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
Oct 21, 2022https://github.com/python/cpython/pull/98525#event-7642236523
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 21, 2022https://github.com/python/cpython/pull/98525#event-7642239663
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Nov 5, 2022 https://github.com/python/cpython/pull/98525#pullrequestreview-1169496535
View reviewed changes https://github.com/python/cpython/pull/98525/files/004b13250ff23166d35f58f5b60f3ff2be04727a
Tools/build/deepfreeze.pyhttps://github.com/python/cpython/pull/98525/files/004b13250ff23166d35f58f5b60f3ff2be04727a#diff-73f4b555c2a84258ef26f0976ce1fd41983aa2d0aa5107e2d3f7eac9ab6cf9cb
Please reload this pagehttps://github.com/python/cpython/pull/98525
https://github.com/markshannon
Compute initial value of code version during deepfreeze.https://github.com/python/cpython/pull/98525/commits/46d77fd37867d2d9fec0bb983edd832b35d2f9ac
46d77fdhttps://github.com/python/cpython/pull/98525/commits/46d77fd37867d2d9fec0bb983edd832b35d2f9ac
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 7, 2022 https://github.com/python/cpython/pull/98525#ref-issue-1418483139
Add a version number to code objects #98522 https://github.com/python/cpython/issues/98522
https://github.com/markshannon
Merge branch 'main' into code-versionhttps://github.com/python/cpython/pull/98525/commits/9e668c95ab9e0232eb551d791be0a0e3dd7e8904
9e668c9https://github.com/python/cpython/pull/98525/commits/9e668c95ab9e0232eb551d791be0a0e3dd7e8904
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
November 18, 2022 21:02https://github.com/python/cpython/pull/98525#event-7847416014
https://github.com/markshannon
Merge branch 'main' into code-versionhttps://github.com/python/cpython/pull/98525/commits/ba0b8f449657ecc66fe1daffc81089d6cd5524b7
ba0b8f4https://github.com/python/cpython/pull/98525/commits/ba0b8f449657ecc66fe1daffc81089d6cd5524b7
https://github.com/markshannon
markshannonhttps://github.com/markshannon
iritkatrielhttps://github.com/iritkatriel
November 29, 2022 11:43https://github.com/python/cpython/pull/98525#event-7911723454
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Nov 29, 2022 https://github.com/python/cpython/pull/98525#pullrequestreview-1197449196
View reviewed changes https://github.com/python/cpython/pull/98525/files/ba0b8f449657ecc66fe1daffc81089d6cd5524b7
Tools/build/deepfreeze.pyhttps://github.com/python/cpython/pull/98525/files/ba0b8f449657ecc66fe1daffc81089d6cd5524b7#diff-73f4b555c2a84258ef26f0976ce1fd41983aa2d0aa5107e2d3f7eac9ab6cf9cb
Please reload this pagehttps://github.com/python/cpython/pull/98525
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Nov 29, 2022 https://github.com/python/cpython/pull/98525#pullrequestreview-1197457295
View reviewed changes https://github.com/python/cpython/pull/98525/files/ba0b8f449657ecc66fe1daffc81089d6cd5524b7
Include/internal/pycore_code.hhttps://github.com/python/cpython/pull/98525/files/ba0b8f449657ecc66fe1daffc81089d6cd5524b7#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
iritkatrielhttps://github.com/iritkatriel
Nov 29, 2022https://github.com/python/cpython/pull/98525#discussion_r1034687596
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/98525
markshannonhttps://github.com/markshannon
Dec 7, 2022https://github.com/python/cpython/pull/98525#discussion_r1042025298
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/python/cpython/blob/main/Python/bytecodes.c#L2976https://github.com/python/cpython/blob/main/Python/bytecodes.c#L2976
Please reload this pagehttps://github.com/python/cpython/pull/98525
https://github.com/markshannon
Merge branch 'main' into code-versionhttps://github.com/python/cpython/pull/98525/commits/2ab0453d5467a6adb20ca660ec4a5033c5454b56
2ab0453https://github.com/python/cpython/pull/98525/commits/2ab0453d5467a6adb20ca660ec4a5033c5454b56
https://github.com/apps/netlify
netlifyhttps://github.com/apps/netlify
Dec 9, 2022https://github.com/python/cpython/pull/98525#issuecomment-1344163230
Please reload this pagehttps://github.com/python/cpython/pull/98525
2ab0453https://github.com/python/cpython/commit/2ab0453d5467a6adb20ca660ec4a5033c5454b56
https://app.netlify.com/sites/python-cpython-preview/deploys/6393165aa529f10008d886cfhttps://app.netlify.com/sites/python-cpython-preview/deploys/6393165aa529f10008d886cf
Please reload this pagehttps://github.com/python/cpython/pull/98525
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Dec 9, 2022 https://github.com/python/cpython/pull/98525#pullrequestreview-1211503736
View reviewed changes https://github.com/python/cpython/pull/98525/files/2ab0453d5467a6adb20ca660ec4a5033c5454b56
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
Dec 9, 2022https://github.com/python/cpython/pull/98525#event-7997759515
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Dec 9, 2022https://github.com/python/cpython/pull/98525#issuecomment-1344194360
Please reload this pagehttps://github.com/python/cpython/pull/98525
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Dec 9, 2022https://github.com/python/cpython/pull/98525#event-7997919227
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Dec 9, 2022https://github.com/python/cpython/pull/98525#event-7997919629
https://github.com/markshannon
markshannonhttps://github.com/markshannon
fb713b2https://github.com/python/cpython/commit/fb713b21833a17cba8022af0fa4c486512157d4b
Dec 9, 2022https://github.com/python/cpython/pull/98525#event-7998231402
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
Dec 9, 2022https://github.com/python/cpython/pull/98525#event-7998231668
https://github.com/markshannon
markshannonhttps://github.com/markshannon
September 26, 2023 12:53https://github.com/python/cpython/pull/98525#event-10474827098
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 16, 2024 https://github.com/python/cpython/pull/98525#ref-issue-2190252218
Why do we have two counters for function versions? #116916 https://github.com/python/cpython/issues/116916
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Mar 20, 2024 https://github.com/python/cpython/pull/98525#ref-issue-2197910838
Function version numbers do not obey necessary invariants #117086 https://github.com/python/cpython/issues/117086
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%2F98525
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/98525/files/2ab0453d5467a6adb20ca660ec4a5033c5454b56
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
Please reload this pagehttps://github.com/python/cpython/pull/98525
https://github.com/markshannon
https://github.com/iritkatriel
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.