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: https://bugs.python.org/issue29469

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4ce9cabd-011a-8026-a463-f19580dffb7a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8498:1DECF9:21A542F:2BF73A4:696B4DC3
html-safe-nonce2ee8624ca1f1756e587ecaf3e69bcad9e68340888cc23b594f7d5df0de62e455
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDk4OjFERUNGOToyMUE1NDJGOjJCRjczQTQ6Njk2QjREQzMiLCJ2aXNpdG9yX2lkIjoiMzk5MTg2OTQ1NDIzNTE2MDAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf54ab8331e04b0bd024ecc39da795d51427ee79166cb606b0ed0dd73f3d6211d
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/2858/files
twitter:imagehttps://avatars.githubusercontent.com/u/199592?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/199592?s=400&v=4
og:image:althttps://bugs.python.org/issue29469
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2858%2Ffiles
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%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/2858/files
Reloadhttps://github.com/python/cpython/pull/2858/files
Reloadhttps://github.com/python/cpython/pull/2858/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/2858/files
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/files
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
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:ast-constant-foldhttps://github.com/methane/cpython/tree/ast-constant-fold
Conversation 24 https://github.com/python/cpython/pull/2858
Commits 20 https://github.com/python/cpython/pull/2858/commits
Checks 0 https://github.com/python/cpython/pull/2858/checks
Files changed https://github.com/python/cpython/pull/2858/files
Please reload this pagehttps://github.com/python/cpython/pull/2858/files
bpo-29469: Move constant folding at AST level https://github.com/python/cpython/pull/2858/files#top
Show all changes 20 commits https://github.com/python/cpython/pull/2858/files
b0c4745 bpo-29469: Move constant folding at AST level methane Jul 25, 2017 https://github.com/python/cpython/pull/2858/commits/b0c47450cd48b5a4042424f90b1fa609fad73e75
a4edbc3 stable visitor order methane Jul 26, 2017 https://github.com/python/cpython/pull/2858/commits/a4edbc3139711a7d0bd44f81d51ac1e1bf7cfdb5
9b0f10c remove simple constant folding from peephole methane Jul 26, 2017 https://github.com/python/cpython/pull/2858/commits/9b0f10cbf00b8e87ab29cf2a1e865978912a264e
a603d5b stabilize prototype order methane Jul 26, 2017 https://github.com/python/cpython/pull/2858/commits/a603d5b86ce2b6513e7bbb5ab5d9a1d22ed37c4f
e2ae3fd Merge remote-tracking branch 'origin/master' into ast-constant-fold methane Oct 6, 2017 https://github.com/python/cpython/pull/2858/commits/e2ae3fd3ef3e3e5aa159477821523442de3eec0a
43ae08a Merge remote-tracking branch 'origin/master' into ast-constant-fold methane Dec 4, 2017 https://github.com/python/cpython/pull/2858/commits/43ae08a9804be970c807ac335cf45c350a5b2e35
04fb56c Remove code generator for ast_opt.c methane Dec 12, 2017 https://github.com/python/cpython/pull/2858/commits/04fb56c5dff1a27edbeca1d0ed4e6ab208f030db
5da0739 remove noop functions methane Dec 12, 2017 https://github.com/python/cpython/pull/2858/commits/5da07391c79cbcee9cb483e7dddea99fd244a05d
af2a46b make regen-all methane Dec 12, 2017 https://github.com/python/cpython/pull/2858/commits/af2a46b43650cdcde10aa489118b387a783f834a
078c1ed Fix test.test_plistlib.TestPlistlib.test_tuple_members methane Dec 12, 2017 https://github.com/python/cpython/pull/2858/commits/078c1ed2057de3454c3a55895ca30bb5bb39ab84
b64240d Merge remote-tracking branch 'origin/master' into ast-constant-fold methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/b64240df33d4d4942bceb49a3c4f73f296d0e0c3
89c54ad return type should be separated line methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/89c54ad746e85ca2fec1b0b9b9b0d344170bd518
94160d4 Use Py_UNREACHABLE() methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/94160d4ac5fd44903233019b0eef680c3421b056
e416c5f Fix KeyboardInterrupt handling methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/e416c5f4c2a976e72abf25a581755315275d43fe
3f34890 Use designated initializer methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/3f348902972dd50c8b7e88d15c2301fb1d7f669b
e1f466d Fix error handling in fold_binop() methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/e1f466d21031201e8bba23fac6e25547f87a92c0
1f3fc8e fix methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/1f3fc8e6d3fbd2f24555fa90c3a67b33824bda73
17396dc Add NEWS entry methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/17396dcb965fa55caab92bfd7a6ebb51612e1a59
de2effe fix methane Dec 13, 2017 https://github.com/python/cpython/pull/2858/commits/de2effedf53dc4a4609cc33b440bfef399a74c03
30edda9 make regen-all methane Dec 14, 2017 https://github.com/python/cpython/pull/2858/commits/30edda97b4acd07da7a16c3de7726cd5a23148a9
Clear filters https://github.com/python/cpython/pull/2858/files
Please reload this pagehttps://github.com/python/cpython/pull/2858/files
Please reload this pagehttps://github.com/python/cpython/pull/2858/files
3.7.rst https://github.com/python/cpython/pull/2858/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
compile.h https://github.com/python/cpython/pull/2858/files#diff-64790e61aa74dc187bc9da9e0c83e3753e1384adc1e4824dc79e67c13163dc96
Makefile.pre.in https://github.com/python/cpython/pull/2858/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
2017-07-26-00-20-15.bpo-29469.potmyI.rst https://github.com/python/cpython/pull/2858/files#diff-ac5101f6a2f7e6962e53cfcc5e5238bfd9cc3ecedee86d9f075479a88f0a037a
pythoncore.vcxproj https://github.com/python/cpython/pull/2858/files#diff-4295039788386c2986b811f2a6b59cf088be59822b24b4f1243c9e9b184f65fb
pythoncore.vcxproj.filters https://github.com/python/cpython/pull/2858/files#diff-9e715828befc9c50c8b483b06d4923cda0db44f57d0c20e6a6d428ba60bfa0c5
ast_opt.c https://github.com/python/cpython/pull/2858/files#diff-7a65e647c7985eb08fdefdab01ccdd2505c86ecdee2fa856fc9627c552ded146
compile.c https://github.com/python/cpython/pull/2858/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
importlib.h https://github.com/python/cpython/pull/2858/files#diff-f22c3fe718474bf1830c047f516ef95818493a9a9fcf8f2d5b159b1b5b76ecd6
importlib_external.h https://github.com/python/cpython/pull/2858/files#diff-edaa85591e6f559d0fae8073b45dc3e9c8e251053d07623b2ce23392dfe97a7e
peephole.c https://github.com/python/cpython/pull/2858/files#diff-3bc78aafc8aa0da74cdc1cbf79c5722d549b721c0b1c12f2943df3a531869846
Doc/whatsnew/3.7.rsthttps://github.com/python/cpython/pull/2858/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
View file https://github.com/methane/cpython/blob/30edda97b4acd07da7a16c3de7726cd5a23148a9/Doc/whatsnew/3.7.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2858/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2858/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
https://github.com/python/cpython/pull/2858/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
Include/compile.hhttps://github.com/python/cpython/pull/2858/files#diff-64790e61aa74dc187bc9da9e0c83e3753e1384adc1e4824dc79e67c13163dc96
View file https://github.com/methane/cpython/blob/30edda97b4acd07da7a16c3de7726cd5a23148a9/Include/compile.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2858/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2858/files#diff-64790e61aa74dc187bc9da9e0c83e3753e1384adc1e4824dc79e67c13163dc96
https://github.com/python/cpython/pull/2858/files#diff-64790e61aa74dc187bc9da9e0c83e3753e1384adc1e4824dc79e67c13163dc96
Makefile.pre.inhttps://github.com/python/cpython/pull/2858/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
View file https://github.com/methane/cpython/blob/30edda97b4acd07da7a16c3de7726cd5a23148a9/Makefile.pre.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2858/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2858/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
https://github.com/python/cpython/pull/2858/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
Misc/NEWS.d/next/Core and Builtins/2017-07-26-00-20-15.bpo-29469.potmyI.rsthttps://github.com/python/cpython/pull/2858/files#diff-ac5101f6a2f7e6962e53cfcc5e5238bfd9cc3ecedee86d9f075479a88f0a037a
View file https://github.com/methane/cpython/blob/30edda97b4acd07da7a16c3de7726cd5a23148a9/Misc/NEWS.d/next/Core%20and%20Builtins/2017-07-26-00-20-15.bpo-29469.potmyI.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2858/{{ revealButtonHref }}
PCbuild/pythoncore.vcxprojhttps://github.com/python/cpython/pull/2858/files#diff-4295039788386c2986b811f2a6b59cf088be59822b24b4f1243c9e9b184f65fb
View file https://github.com/methane/cpython/blob/30edda97b4acd07da7a16c3de7726cd5a23148a9/PCbuild/pythoncore.vcxproj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2858/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2858/files#diff-4295039788386c2986b811f2a6b59cf088be59822b24b4f1243c9e9b184f65fb
https://github.com/python/cpython/pull/2858/files#diff-4295039788386c2986b811f2a6b59cf088be59822b24b4f1243c9e9b184f65fb
PCbuild/pythoncore.vcxproj.filtershttps://github.com/python/cpython/pull/2858/files#diff-9e715828befc9c50c8b483b06d4923cda0db44f57d0c20e6a6d428ba60bfa0c5
View file https://github.com/methane/cpython/blob/30edda97b4acd07da7a16c3de7726cd5a23148a9/PCbuild/pythoncore.vcxproj.filters
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2858/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2858/files#diff-9e715828befc9c50c8b483b06d4923cda0db44f57d0c20e6a6d428ba60bfa0c5
https://github.com/python/cpython/pull/2858/files#diff-9e715828befc9c50c8b483b06d4923cda0db44f57d0c20e6a6d428ba60bfa0c5
Please reload this pagehttps://github.com/python/cpython/pull/2858/files
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.