René's URL Explorer Experiment


Title: bpo-29469: Move constant folding at AST level by methane · Pull Request #2858 · python/cpython · GitHub

Open Graph Title: bpo-29469: Move constant folding at AST level by methane · Pull Request #2858 · python/cpython

X Title: bpo-29469: Move constant folding at AST level by methane · Pull Request #2858 · python/cpython

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

Open Graph Description: https://bugs.python.org/issue29469

X Description: https://bugs.python.org/issue29469

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:79357d62-d3fc-8122-60b7-dcd1430185b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C84:CD10D:13C51FC:1993EEB:696B1AD6
html-safe-nonce0f0fcb5d98e257af64f811d7194561fdf892ebc39d047f83bafee50440e3c42e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzg0OkNEMTBEOjEzQzUxRkM6MTk5M0VFQjo2OTZCMUFENiIsInZpc2l0b3JfaWQiOiI2OTgwMTkwOTE4NjMxMTY4NzI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacebda841a9c1ab04f6c5be9e2ddd4c1abbb9017dfcfc3cac2e4ec7542f8459784
hovercard-subject-tagpull_request:132210711
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/2858/commits
twitter:imagehttps://opengraph.githubassets.com/1595ebff45fb18f8656f78d5e9db49d47262a030f2dceda5c902e79974067469/python/cpython/pull/2858
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1595ebff45fb18f8656f78d5e9db49d47262a030f2dceda5c902e79974067469/python/cpython/pull/2858
og:image:althttps://bugs.python.org/issue29469
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemethane
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/2858/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2858%2Fcommits
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%2F2858%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/2858/commits
Reloadhttps://github.com/python/cpython/pull/2858/commits
Reloadhttps://github.com/python/cpython/pull/2858/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/2858/commits
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/2858/commits
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
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:ast-constant-foldhttps://github.com/methane/cpython/tree/ast-constant-fold
Conversationhttps://github.com/python/cpython/pull/2858
Commits20 (20)https://github.com/python/cpython/pull/2858/commits
Checkshttps://github.com/python/cpython/pull/2858/checks
Files changedhttps://github.com/python/cpython/pull/2858/files
bpo-29469: Move constant folding at AST levelhttps://github.com/python/cpython/pull/2858/commits#top
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:ast-constant-foldhttps://github.com/methane/cpython/tree/ast-constant-fold
bpo-29469: Move constant folding at AST levelhttps://github.com/python/cpython/pull/2858/commits/b0c47450cd48b5a4042424f90b1fa609fad73e75
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
b0c4745https://github.com/python/cpython/pull/2858/commits/b0c47450cd48b5a4042424f90b1fa609fad73e75
https://github.com/python/cpython/tree/b0c47450cd48b5a4042424f90b1fa609fad73e75
stable visitor orderhttps://github.com/python/cpython/pull/2858/commits/a4edbc3139711a7d0bd44f81d51ac1e1bf7cfdb5
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
a4edbc3https://github.com/python/cpython/pull/2858/commits/a4edbc3139711a7d0bd44f81d51ac1e1bf7cfdb5
https://github.com/python/cpython/tree/a4edbc3139711a7d0bd44f81d51ac1e1bf7cfdb5
remove simple constant folding from peepholehttps://github.com/python/cpython/pull/2858/commits/9b0f10cbf00b8e87ab29cf2a1e865978912a264e
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
9b0f10chttps://github.com/python/cpython/pull/2858/commits/9b0f10cbf00b8e87ab29cf2a1e865978912a264e
https://github.com/python/cpython/tree/9b0f10cbf00b8e87ab29cf2a1e865978912a264e
stabilize prototype orderhttps://github.com/python/cpython/pull/2858/commits/a603d5b86ce2b6513e7bbb5ab5d9a1d22ed37c4f
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
a603d5bhttps://github.com/python/cpython/pull/2858/commits/a603d5b86ce2b6513e7bbb5ab5d9a1d22ed37c4f
https://github.com/python/cpython/tree/a603d5b86ce2b6513e7bbb5ab5d9a1d22ed37c4f
Merge remote-tracking branch 'origin/master' into ast-constant-foldhttps://github.com/python/cpython/pull/2858/commits/e2ae3fd3ef3e3e5aa159477821523442de3eec0a
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
e2ae3fdhttps://github.com/python/cpython/pull/2858/commits/e2ae3fd3ef3e3e5aa159477821523442de3eec0a
https://github.com/python/cpython/tree/e2ae3fd3ef3e3e5aa159477821523442de3eec0a
Merge remote-tracking branch 'origin/master' into ast-constant-foldhttps://github.com/python/cpython/pull/2858/commits/43ae08a9804be970c807ac335cf45c350a5b2e35
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
43ae08ahttps://github.com/python/cpython/pull/2858/commits/43ae08a9804be970c807ac335cf45c350a5b2e35
https://github.com/python/cpython/tree/43ae08a9804be970c807ac335cf45c350a5b2e35
Remove code generator for ast_opt.chttps://github.com/python/cpython/pull/2858/commits/04fb56c5dff1a27edbeca1d0ed4e6ab208f030db
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
04fb56chttps://github.com/python/cpython/pull/2858/commits/04fb56c5dff1a27edbeca1d0ed4e6ab208f030db
https://github.com/python/cpython/tree/04fb56c5dff1a27edbeca1d0ed4e6ab208f030db
remove noop functionshttps://github.com/python/cpython/pull/2858/commits/5da07391c79cbcee9cb483e7dddea99fd244a05d
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
5da0739https://github.com/python/cpython/pull/2858/commits/5da07391c79cbcee9cb483e7dddea99fd244a05d
https://github.com/python/cpython/tree/5da07391c79cbcee9cb483e7dddea99fd244a05d
make regen-allhttps://github.com/python/cpython/pull/2858/commits/af2a46b43650cdcde10aa489118b387a783f834a
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
af2a46bhttps://github.com/python/cpython/pull/2858/commits/af2a46b43650cdcde10aa489118b387a783f834a
https://github.com/python/cpython/tree/af2a46b43650cdcde10aa489118b387a783f834a
Fix test.test_plistlib.TestPlistlib.test_tuple_membershttps://github.com/python/cpython/pull/2858/commits/078c1ed2057de3454c3a55895ca30bb5bb39ab84
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
078c1edhttps://github.com/python/cpython/pull/2858/commits/078c1ed2057de3454c3a55895ca30bb5bb39ab84
https://github.com/python/cpython/tree/078c1ed2057de3454c3a55895ca30bb5bb39ab84
Merge remote-tracking branch 'origin/master' into ast-constant-foldhttps://github.com/python/cpython/pull/2858/commits/b64240df33d4d4942bceb49a3c4f73f296d0e0c3
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
b64240dhttps://github.com/python/cpython/pull/2858/commits/b64240df33d4d4942bceb49a3c4f73f296d0e0c3
https://github.com/python/cpython/tree/b64240df33d4d4942bceb49a3c4f73f296d0e0c3
return type should be separated linehttps://github.com/python/cpython/pull/2858/commits/89c54ad746e85ca2fec1b0b9b9b0d344170bd518
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
89c54adhttps://github.com/python/cpython/pull/2858/commits/89c54ad746e85ca2fec1b0b9b9b0d344170bd518
https://github.com/python/cpython/tree/89c54ad746e85ca2fec1b0b9b9b0d344170bd518
Use Py_UNREACHABLE()https://github.com/python/cpython/pull/2858/commits/94160d4ac5fd44903233019b0eef680c3421b056
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
94160d4https://github.com/python/cpython/pull/2858/commits/94160d4ac5fd44903233019b0eef680c3421b056
https://github.com/python/cpython/tree/94160d4ac5fd44903233019b0eef680c3421b056
Fix KeyboardInterrupt handlinghttps://github.com/python/cpython/pull/2858/commits/e416c5f4c2a976e72abf25a581755315275d43fe
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
e416c5fhttps://github.com/python/cpython/pull/2858/commits/e416c5f4c2a976e72abf25a581755315275d43fe
https://github.com/python/cpython/tree/e416c5f4c2a976e72abf25a581755315275d43fe
Use designated initializerhttps://github.com/python/cpython/pull/2858/commits/3f348902972dd50c8b7e88d15c2301fb1d7f669b
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
3f34890https://github.com/python/cpython/pull/2858/commits/3f348902972dd50c8b7e88d15c2301fb1d7f669b
https://github.com/python/cpython/tree/3f348902972dd50c8b7e88d15c2301fb1d7f669b
Fix error handling in fold_binop()https://github.com/python/cpython/pull/2858/commits/e1f466d21031201e8bba23fac6e25547f87a92c0
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
e1f466dhttps://github.com/python/cpython/pull/2858/commits/e1f466d21031201e8bba23fac6e25547f87a92c0
https://github.com/python/cpython/tree/e1f466d21031201e8bba23fac6e25547f87a92c0
fixhttps://github.com/python/cpython/pull/2858/commits/1f3fc8e6d3fbd2f24555fa90c3a67b33824bda73
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
1f3fc8ehttps://github.com/python/cpython/pull/2858/commits/1f3fc8e6d3fbd2f24555fa90c3a67b33824bda73
https://github.com/python/cpython/tree/1f3fc8e6d3fbd2f24555fa90c3a67b33824bda73
Add NEWS entryhttps://github.com/python/cpython/pull/2858/commits/17396dcb965fa55caab92bfd7a6ebb51612e1a59
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
17396dchttps://github.com/python/cpython/pull/2858/commits/17396dcb965fa55caab92bfd7a6ebb51612e1a59
https://github.com/python/cpython/tree/17396dcb965fa55caab92bfd7a6ebb51612e1a59
fixhttps://github.com/python/cpython/pull/2858/commits/de2effedf53dc4a4609cc33b440bfef399a74c03
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
de2effehttps://github.com/python/cpython/pull/2858/commits/de2effedf53dc4a4609cc33b440bfef399a74c03
https://github.com/python/cpython/tree/de2effedf53dc4a4609cc33b440bfef399a74c03
make regen-allhttps://github.com/python/cpython/pull/2858/commits/30edda97b4acd07da7a16c3de7726cd5a23148a9
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
30edda9https://github.com/python/cpython/pull/2858/commits/30edda97b4acd07da7a16c3de7726cd5a23148a9
https://github.com/python/cpython/tree/30edda97b4acd07da7a16c3de7726cd5a23148a9
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.