Title: Add a version number to code objects · Issue #98522 · python/cpython · GitHub
Open Graph Title: Add a version number to code objects · Issue #98522 · python/cpython
X Title: Add a version number to code objects · Issue #98522 · python/cpython
Description: We want to add a version number to code objects, so that all functions that are created from the same code object have the same version number (at least until they are mutated). Code objects are immutable, so they do not need a version n...
Open Graph Description: We want to add a version number to code objects, so that all functions that are created from the same code object have the same version number (at least until they are mutated). Code objects are im...
X Description: We want to add a version number to code objects, so that all functions that are created from the same code object have the same version number (at least until they are mutated). Code objects are im...
Opengraph URL: https://github.com/python/cpython/issues/98522
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a version number to code objects","articleBody":"We want to add a version number to code objects, so that all functions that are created from the same code object have the same version number (at least until they are mutated).\r\n\r\nCode objects are immutable, so they do not need a version number themselves, it is just to help function objects.\r\nBy ensuring that all function objects created from the same code object have the same version number, we can effectively specialize comprehensions and inner functions.\r\n\r\nSee https://github.com/faster-cpython/ideas/issues/446 for more details.\r\n\n\n\u003c!-- gh-pr-number: gh-98525 --\u003e\n* PR: gh-98525\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/markshannon","@type":"Person","name":"markshannon"},"datePublished":"2022-10-21T15:07:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/98522/cpython/issues/98522"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0bcf4c3e-4aeb-2a4c-f415-1384de5743cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB88:F3940:2F80764:4451EF5:6A567425 |
| html-safe-nonce | 3ac282b7e737ddcd632f109cf5f22391f60d827eaafada09179ac0f35e84bd26 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjg4OkYzOTQwOjJGODA3NjQ6NDQ1MUVGNTo2QTU2NzQyNSIsInZpc2l0b3JfaWQiOiIyNTg3NTM2NjA1ODM4NzM0MzczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | da7a95614284da623181e505d7b07c8ac40fbeb4e4f13d7bdb9c862e61107b16 |
| hovercard-subject-tag | issue:1418483139 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5c4f65cea2c95b8b972f856ccfd933f7ebd59e863ed35874c4544cd2c82afe7/python/cpython/issues/98522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5c4f65cea2c95b8b972f856ccfd933f7ebd59e863ed35874c4544cd2c82afe7/python/cpython/issues/98522 |
| og:image:alt | We want to add a version number to code objects, so that all functions that are created from the same code object have the same version number (at least until they are mutated). Code objects are im... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markshannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | afc01ffdb045f4ff81c6122091366ade7b6166b7 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width