René's URL Explorer Experiment


Title: Freeze modules used during startup · Issue #145278 · python/cpython · GitHub

Open Graph Title: Freeze modules used during startup · Issue #145278 · python/cpython

X Title: Freeze modules used during startup · Issue #145278 · python/cpython

Description: Feature or enhancement Proposal: This should be encodings, which was't frozen due to the lack of support for partially frozen packages, and linecache, which is used when running in interactive mode. Has this already been discussed elsewh...

Open Graph Description: Feature or enhancement Proposal: This should be encodings, which was't frozen due to the lack of support for partially frozen packages, and linecache, which is used when running in interactive mode...

X Description: Feature or enhancement Proposal: This should be encodings, which was't frozen due to the lack of support for partially frozen packages, and linecache, which is used when running in interactive ...

Opengraph URL: https://github.com/python/cpython/issues/145278

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Freeze modules used during startup","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nThis should be `encodings`, which was't frozen due to the lack of support for partially frozen packages, and `linecache`, which is used when running in interactive mode.\n\n### Has this already been discussed elsewhere?\n\nNo response given\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-145279\n* gh-145689\n* gh-148347\n* gh-148648\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/FFY00","@type":"Person","name":"FFY00"},"datePublished":"2026-02-26T21:18:22Z","url":"https://github.com/python/cpython/issues/145278"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a9c0288c-49bc-86e4-8040-30cff09c1ef4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEA8C:2DBB21:35C6740:47BABFC:6B020AD3
html-safe-nonce4c3c5c55a2075d83504e47294985216117bd3f72785ffb01d8853a99b35ed4af
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQThDOjJEQkIyMTozNUM2NzQwOjQ3QkFCRkM6NkIwMjBBRDMiLCJ2aXNpdG9yX2lkIjoiNTc0OTUyOTI5NDgxMjYxMzMzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf6ef63d3b2380a8a21b070a44617712ae3ae98ff250a8976e82808869004ec9a
hovercard-subject-tagissue:3997800291
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/145278/issue_layout
twitter:imagehttps://opengraph.githubassets.com/087130af7219ce1aadb54b14549a8c78825915a9ea0c8421fde9151aa70e9426/python/cpython/issues/145278
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/087130af7219ce1aadb54b14549a8c78825915a9ea0c8421fde9151aa70e9426/python/cpython/issues/145278
og:image:altFeature or enhancement Proposal: This should be encodings, which was't frozen due to the lack of support for partially frozen packages, and linecache, which is used when running in interactive mode...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFFY00
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/145278#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F145278
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F145278
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/145278
Reloadhttps://github.com/python/cpython/issues/145278
Reloadhttps://github.com/python/cpython/issues/145278
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/145278
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/145278
Freeze modules used during startuphttps://github.com/python/cpython/issues/145278#top
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/FFY00
FFY00https://github.com/FFY00
on Feb 26, 2026https://github.com/python/cpython/issues/145278#issue-3997800291
GH-145278: freeze encodings (partially) and linecache #145279https://github.com/python/cpython/pull/145279
gh-145278: Revert "freeze encodings (partially) and linecache (#145279)" #145689https://github.com/python/cpython/pull/145689
GH-145278: freeze encodings (partially) and linecache #148347https://github.com/python/cpython/pull/148347
GH-145278: also filter mmap2 in strace_helper.filter_memory #148648https://github.com/python/cpython/pull/148648
FFY00https://github.com/FFY00
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Feb 26, 2026https://github.com/python/cpython/issues/145278#event-23117370020
StanFromIrelandhttps://github.com/StanFromIreland
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
on Feb 26, 2026https://github.com/python/cpython/issues/145278#event-23117442492
FFY00https://github.com/FFY00
on Feb 26, 2026https://github.com/python/cpython/issues/145278#event-23117490062
pythonGH-145278: freeze encodings (partially) and linecachehttps://github.com/FFY00/cpython/commit/90d0e54a1b9c8a2c10919cb151faa1dda73eac37
pythonGH-145278https://github.com/python/cpython/issues/145278
90d0e54https://github.com/FFY00/cpython/commit/90d0e54a1b9c8a2c10919cb151faa1dda73eac37
FFY00https://github.com/FFY00
on Mar 9, 2026https://github.com/python/cpython/issues/145278#event-23396237627
GH-145278: freeze encodings (partially) and linecache (#145279)https://github.com/python/cpython/commit/3a0c716ad4922a84c407b69f8fca10f070007356
GH-145278https://github.com/python/cpython/issues/145278
#145279https://github.com/python/cpython/pull/145279
3a0c716https://github.com/python/cpython/commit/3a0c716ad4922a84c407b69f8fca10f070007356
sergey-miryanovhttps://github.com/sergey-miryanov
on Mar 9, 2026https://github.com/python/cpython/issues/145278#event-23401441147
Revert "pythonGH-145278: freeze encodings (partially) and linecache (p…https://github.com/sergey-miryanov/cpython/commit/d05c9efe55114cc844e5b9a5e330fc5bdcebf92c
pythonGH-145278https://github.com/python/cpython/issues/145278
p…https://github.com/python/cpython/pull/145279
d05c9efhttps://github.com/sergey-miryanov/cpython/commit/d05c9efe55114cc844e5b9a5e330fc5bdcebf92c
encukouhttps://github.com/encukou
on Mar 9, 2026https://github.com/python/cpython/issues/145278#event-23403803406
Revert "pythonGH-145278: freeze encodings (partially) and linecache (p…https://github.com/encukou/cpython/commit/3958e3468826139e97587a00a79f816f4eb556d5
pythonGH-145278https://github.com/python/cpython/issues/145278
p…https://github.com/python/cpython/pull/145279
3958e34https://github.com/encukou/cpython/commit/3958e3468826139e97587a00a79f816f4eb556d5
sergey-miryanovhttps://github.com/sergey-miryanov
on Mar 9, 2026https://github.com/python/cpython/issues/145278#event-23403996347
Reapply "pythonGH-145278: freeze encodings (partially) and linecache (p…https://github.com/sergey-miryanov/cpython/commit/9fd4cff4b5a91116fb63ca90bd083e538be5c53d
pythonGH-145278https://github.com/python/cpython/issues/145278
p…https://github.com/python/cpython/pull/145279
9fd4cffhttps://github.com/sergey-miryanov/cpython/commit/9fd4cff4b5a91116fb63ca90bd083e538be5c53d
hugovkhttps://github.com/hugovk
on Mar 9, 2026https://github.com/python/cpython/issues/145278#event-23405541412
gh-145278: Revert "freeze encodings (partially) and linecache (#145279)…https://github.com/python/cpython/commit/07a39ca07e4cbacb2941d22c9901047df292059b
gh-145278https://github.com/python/cpython/issues/145278
#145279https://github.com/python/cpython/pull/145279
07a39cahttps://github.com/python/cpython/commit/07a39ca07e4cbacb2941d22c9901047df292059b
FFY00https://github.com/FFY00
on Apr 10, 2026https://github.com/python/cpython/issues/145278#event-24388482832
pythonGH-145278: freeze encodings (partially) and linecache (python#1…https://github.com/FFY00/cpython/commit/2a81aa3b4a498b3da464f80f47cd02df7a3e35cb
pythonGH-145278https://github.com/python/cpython/issues/145278
python#1…https://github.com/python/cpython/pull/145279
2a81aa3https://github.com/FFY00/cpython/commit/2a81aa3b4a498b3da464f80f47cd02df7a3e35cb
pythonGH-145278: freeze encodings (partially) and linecachehttps://github.com/FFY00/cpython/commit/719d17d94f35c4fc77d72a15006397d3742b04e3
pythonGH-145278https://github.com/python/cpython/issues/145278
719d17dhttps://github.com/FFY00/cpython/commit/719d17d94f35c4fc77d72a15006397d3742b04e3
GH-145278: freeze encodings (partially) and linecache (#148347)https://github.com/python/cpython/commit/0012686d92fe51f426bcd6797e2f2a50ad4ac74f
GH-145278https://github.com/python/cpython/issues/145278
#148347https://github.com/python/cpython/pull/148347
0012686https://github.com/python/cpython/commit/0012686d92fe51f426bcd6797e2f2a50ad4ac74f
https://github.com/encukou
encukouhttps://github.com/encukou
on Apr 15, 2026https://github.com/python/cpython/issues/145278#issuecomment-4250873242
@FFY00https://github.com/FFY00
https://github.com/FFY00
FFY00https://github.com/FFY00
on Apr 16, 2026https://github.com/python/cpython/issues/145278#issuecomment-4260179525
FFY00https://github.com/FFY00
on Apr 16, 2026https://github.com/python/cpython/issues/145278#event-24567994061
pythonGH-145278: also filter mmap2 in strace_helper.filter_memoryhttps://github.com/FFY00/cpython/commit/1880772a8b938e01246da11930f7f8c46465576e
pythonGH-145278https://github.com/python/cpython/issues/145278
1880772https://github.com/FFY00/cpython/commit/1880772a8b938e01246da11930f7f8c46465576e
https://github.com/FFY00
FFY00https://github.com/FFY00
on Apr 16, 2026https://github.com/python/cpython/issues/145278#issuecomment-4260395156
GH-148648https://github.com/python/cpython/pull/148648
encukouhttps://github.com/encukou
on Apr 20, 2026https://github.com/python/cpython/issues/145278#event-24679260842
GH-145278: also filter mmap2 in strace_helper.filter_memory (GH-148648)https://github.com/python/cpython/commit/513db7211056f6ba5453eb32f12c88887425f2e7
GH-145278https://github.com/python/cpython/issues/145278
GH-148648https://github.com/python/cpython/pull/148648
513db72https://github.com/python/cpython/commit/513db7211056f6ba5453eb32f12c88887425f2e7
ljfphttps://github.com/ljfp
on Apr 25, 2026https://github.com/python/cpython/issues/145278#event-24868324081
pythonGH-145278: freeze encodings (partially) and linecache (python#1…https://github.com/ljfp/cpython/commit/284063120fcea7487d67ad819d8cfff81fa146c7
pythonGH-145278https://github.com/python/cpython/issues/145278
python#1…https://github.com/python/cpython/pull/145279
2840631https://github.com/ljfp/cpython/commit/284063120fcea7487d67ad819d8cfff81fa146c7
pythongh-145278: Revert "freeze encodings (partially) and linecache (p…https://github.com/ljfp/cpython/commit/33e9809ccf360a618da7957f9903917d0d1094c7
pythongh-145278https://github.com/python/cpython/issues/145278
p…https://github.com/python/cpython/pull/145279
33e9809https://github.com/ljfp/cpython/commit/33e9809ccf360a618da7957f9903917d0d1094c7
pythonGH-145278: freeze encodings (partially) and linecache (python#1…https://github.com/ljfp/cpython/commit/78c06935ec7c714794de29813ba0513e4078e5d6
pythonGH-145278https://github.com/python/cpython/issues/145278
python#1…https://github.com/python/cpython/pull/148347
78c0693https://github.com/ljfp/cpython/commit/78c06935ec7c714794de29813ba0513e4078e5d6
pythonGH-145278: also filter mmap2 in strace_helper.filter_memory (py…https://github.com/ljfp/cpython/commit/3a9ed7e24639862a9433ea6e8e516c9167c52a2c
pythonGH-145278https://github.com/python/cpython/issues/145278
py…https://github.com/python/cpython/pull/148648
3a9ed7ehttps://github.com/ljfp/cpython/commit/3a9ed7e24639862a9433ea6e8e516c9167c52a2c
https://github.com/FFY00
FFY00https://github.com/FFY00
on Apr 29, 2026https://github.com/python/cpython/issues/145278#issuecomment-4340519752
FFY00https://github.com/FFY00
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 29, 2026https://github.com/python/cpython/issues/145278#event-24973044575
zoobahttps://github.com/zooba
on Aug 24, 2026https://github.com/python/cpython/issues/145278#event-29934635539
gh-148750: Unfreeze encodings module to avoid import errors with zipp…https://github.com/python/cpython/commit/ee521e8ac19ad012ebc4e1b3e71b369988a9b9f8
gh-148750https://github.com/python/cpython/issues/148750
ee521e8https://github.com/python/cpython/commit/ee521e8ac19ad012ebc4e1b3e71b369988a9b9f8
clin1234https://github.com/clin1234
on Aug 27, 2026https://github.com/python/cpython/issues/145278#event-30133592441
pythongh-148750: Unfreeze encodings module to avoid import errors wit…https://github.com/clin1234/cpython/commit/7a3c76b5fca9b51328cbdc7cc8ecd44b374418bf
pythongh-148750https://github.com/python/cpython/issues/148750
7a3c76bhttps://github.com/clin1234/cpython/commit/7a3c76b5fca9b51328cbdc7cc8ecd44b374418bf
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/145278
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/145278
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
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.