René's URL Explorer Experiment


Title: gh-145055: Accept frozendict for globals in exec() and eval() by vstinner · Pull Request #145072 · python/cpython · GitHub

Open Graph Title: gh-145055: Accept frozendict for globals in exec() and eval() by vstinner · Pull Request #145072 · python/cpython

X Title: gh-145055: Accept frozendict for globals in exec() and eval() by vstinner · Pull Request #145072 · python/cpython

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

Open Graph Description: Issue: The globals argument to eval() should accept frozendict #145055 📚 Documentation preview 📚: https://cpython-previews--145072.org.readthedocs.build/

X Description: Issue: The globals argument to eval() should accept frozendict #145055 📚 Documentation preview 📚: https://cpython-previews--145072.org.readthedocs.build/

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

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:85d84cb2-0016-0302-1d0d-004afc644fc7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8128:9C6CC:2268EB7:30EAFB2:6A50F047
html-safe-noncedc8a845287889510f5a1862576baac970b8d3335ab5a0cdad28a43558fdcc992
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTI4OjlDNkNDOjIyNjhFQjc6MzBFQUZCMjo2QTUwRjA0NyIsInZpc2l0b3JfaWQiOiI4NTU4NTgxMDMxODc1MTc4NTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac84a32b372493f5f89f7f78598483cbebdbd989450363cb05d9e62033577dae4e
hovercard-subject-tagpull_request:3310691774
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/145072/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/90726593781d1de81d5f75fbd379fb6259e69adce21ba5b6ce163369064fdce5/python/cpython/pull/145072
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90726593781d1de81d5f75fbd379fb6259e69adce21ba5b6ce163369064fdce5/python/cpython/pull/145072
og:image:altIssue: The globals argument to eval() should accept frozendict #145055 📚 Documentation preview 📚: https://cpython-previews--145072.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838
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
release5ec60191a48933536a90c8a19f47142fcd0d4739
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145072#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145072
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%2F145072
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/145072
Reloadhttps://github.com/python/cpython/pull/145072
Reloadhttps://github.com/python/cpython/pull/145072
Please reload this pagehttps://github.com/python/cpython/pull/145072
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145072
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:frozendict_globalshttps://github.com/vstinner/cpython/tree/frozendict_globals
Conversationhttps://github.com/python/cpython/pull/145072
Commits4 (4)https://github.com/python/cpython/pull/145072/commits
Checkshttps://github.com/python/cpython/pull/145072/checks
Files changedhttps://github.com/python/cpython/pull/145072/files
gh-145055: Accept frozendict for globals in exec() and eval()https://github.com/python/cpython/pull/145072#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:frozendict_globalshttps://github.com/vstinner/cpython/tree/frozendict_globals
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 21, 2026https://github.com/python/cpython/pull/145072#issue-3971866625
Please reload this pagehttps://github.com/python/cpython/pull/145072
The globals argument to eval() should accept frozendict #145055https://github.com/python/cpython/issues/145055
https://cpython-previews--145072.org.readthedocs.build/https://cpython-previews--145072.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/vstinner
pythongh-145055https://github.com/python/cpython/issues/145055
: Accept frozendict for globals in exec() and eval()https://github.com/python/cpython/pull/145072/commits/9440f8f8662994e4435d18e3b0d40a126859db4c
9440f8fhttps://github.com/python/cpython/pull/145072/commits/9440f8f8662994e4435d18e3b0d40a126859db4c
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 21, 2026 https://github.com/python/cpython/pull/145072#ref-issue-3970653061
The globals argument to eval() should accept frozendict #145055 https://github.com/python/cpython/issues/145055
https://github.com/vstinner
Update error messageshttps://github.com/python/cpython/pull/145072/commits/467f8030bf59a84857d3286ba723114754313327
467f803https://github.com/python/cpython/pull/145072/commits/467f8030bf59a84857d3286ba723114754313327
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
March 3, 2026 11:18https://github.com/python/cpython/pull/145072#event-23223696395
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
brettcannonhttps://github.com/brettcannon
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
kumaraditya303https://github.com/kumaraditya303
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/c9d123482acebcf725c847bd6f8354bdd9314189/.github/CODEOWNERS#L264
March 3, 2026 11:18https://github.com/python/cpython/pull/145072#event-23223696811
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 3, 2026https://github.com/python/cpython/pull/145072#event-23223698607
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 3, 2026https://github.com/python/cpython/pull/145072#issuecomment-3990360992
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 3, 2026https://github.com/python/cpython/pull/145072#issuecomment-3990362768
@skirpichevhttps://github.com/skirpichev
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
March 3, 2026 11:40https://github.com/python/cpython/pull/145072#event-23224257497
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 3, 2026https://github.com/python/cpython/pull/145072#issuecomment-3990477658
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 4, 2026 https://github.com/python/cpython/pull/145072#pullrequestreview-3886216845
View reviewed changes https://github.com/python/cpython/pull/145072/files/467f8030bf59a84857d3286ba723114754313327
Doc/library/functions.rsthttps://github.com/python/cpython/pull/145072/files/467f8030bf59a84857d3286ba723114754313327#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
Please reload this pagehttps://github.com/python/cpython/pull/145072
Doc/library/functions.rsthttps://github.com/python/cpython/pull/145072/files/467f8030bf59a84857d3286ba723114754313327#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/vstinner
Use more specific error message if __builtins__ cannot be sethttps://github.com/python/cpython/pull/145072/commits/c16b7e080f4599976da0eb1781b5c55084e985b2
c16b7e0https://github.com/python/cpython/pull/145072/commits/c16b7e080f4599976da0eb1781b5c55084e985b2
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
FFY00https://github.com/FFY00
code ownerhttps://github.com/python/cpython/blob/dc12d1999b88e84d5a6b8e491be468b73379e54b/.github/CODEOWNERS#L264
March 4, 2026 09:41https://github.com/python/cpython/pull/145072#event-23255149348
https://github.com/vstinner
Change the error messagehttps://github.com/python/cpython/pull/145072/commits/9681f8c3ca5fef5d47fc5acc5b26c6f295f9643e
9681f8chttps://github.com/python/cpython/pull/145072/commits/9681f8c3ca5fef5d47fc5acc5b26c6f295f9643e
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 4, 2026https://github.com/python/cpython/pull/145072#issuecomment-3996391926
@skirpichevhttps://github.com/skirpichev
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
March 4, 2026 10:51https://github.com/python/cpython/pull/145072#event-23256992272
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 4, 2026 https://github.com/python/cpython/pull/145072#pullrequestreview-3888697985
View reviewed changes https://github.com/python/cpython/pull/145072/files/9681f8c3ca5fef5d47fc5acc5b26c6f295f9643e
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
c0ecf21https://github.com/python/cpython/commit/c0ecf211b26978859c5112458bcd01d883e04b42
Mar 5, 2026https://github.com/python/cpython/pull/145072#event-23294439014
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
March 5, 2026 11:35https://github.com/python/cpython/pull/145072#event-23294440000
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 5, 2026https://github.com/python/cpython/pull/145072#event-23294440511
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 5, 2026https://github.com/python/cpython/pull/145072#issuecomment-4004491050
@skirpichevhttps://github.com/skirpichev
Please reload this pagehttps://github.com/python/cpython/pull/145072
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/145072#ref-commit-028cb0f
https://github.com/vstinner
https://github.com/ljfp
pythongh-145055https://github.com/python/cpython/issues/145055
: Accept frozendict for globals in exec() and eval() (https://github.com/ljfp/cpython/commit/028cb0fc9a12f353358c4588ae08eb0f93d142a2
p…https://github.com/python/cpython/pull/145072
028cb0fhttps://github.com/ljfp/cpython/commit/028cb0fc9a12f353358c4588ae08eb0f93d142a2
…ython#145072https://github.com/python/cpython/pull/145072
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%2F145072
https://github.com/skirpichev
skirpichev https://github.com/skirpichev
https://github.com/python/cpython/pull/145072/files/9681f8c3ca5fef5d47fc5acc5b26c6f295f9643e
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/methane
methane https://github.com/methane
https://github.com/FFY00
FFY00 https://github.com/FFY00
Please reload this pagehttps://github.com/python/cpython/pull/145072
https://github.com/vstinner
https://github.com/skirpichev
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.