René's URL Explorer Experiment


Title: [mypyc] Clear coroutine env on coroutine completion by p-sawicki · Pull Request #21734 · python/mypy · GitHub

Open Graph Title: [mypyc] Clear coroutine env on coroutine completion by p-sawicki · Pull Request #21734 · python/mypy

X Title: [mypyc] Clear coroutine env on coroutine completion by p-sawicki · Pull Request #21734 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: The env_class object associated with a mypyc coroutine is not immediately cleared when the coroutine completes. This can significantly increase memory usage, since the env class may hold references...

X Description: The env_class object associated with a mypyc coroutine is not immediately cleared when the coroutine completes. This can significantly increase memory usage, since the env class may hold references...

Opengraph URL: https://github.com/python/mypy/pull/21734

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e8dc46a9-c452-88f7-e920-d4aafe575f95
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD602:24BFCE:73A04:9B972:6B0018D3
html-safe-nonce256be203318e62eac7f43c4b9cb19ae52e54f66eec532d2d305dc64703ebbb49
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjAyOjI0QkZDRTo3M0EwNDo5Qjk3Mjo2QjAwMThEMyIsInZpc2l0b3JfaWQiOiI2MDE3NDQ2ODg1MTMwNzcwNjQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac953cce9fb69da62d252f6671730f3f3ab6163dfce307c6c2001580fd14d577af
hovercard-subject-tagpull_request:4062632574
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/mypy/21734/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b00e678a27f79439af55b11f2f0b0ae217ccb7e7efbe0042340c003709137b18/python/mypy/pull/21734
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b00e678a27f79439af55b11f2f0b0ae217ccb7e7efbe0042340c003709137b18/python/mypy/pull/21734
og:image:altThe env_class object associated with a mypyc coroutine is not immediately cleared when the coroutine completes. This can significantly increase memory usage, since the env class may hold references...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamep-sawicki
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/21734#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21734
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%2Fmypy%2Fpull%2F21734
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/21734
Reloadhttps://github.com/python/mypy/pull/21734
Reloadhttps://github.com/python/mypy/pull/21734
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
p-sawickihttps://github.com/p-sawicki
python:masterhttps://github.com/python/mypy/tree/master
p-sawicki:clear-coroutine-env-on-completionhttps://github.com/p-sawicki/mypy/tree/clear-coroutine-env-on-completion
Conversationhttps://github.com/python/mypy/pull/21734
Commits6 (6)https://github.com/python/mypy/pull/21734/commits
Checkshttps://github.com/python/mypy/pull/21734/checks
Files changedhttps://github.com/python/mypy/pull/21734/files
[mypyc] Clear coroutine env on coroutine completionhttps://github.com/python/mypy/pull/21734#top
p-sawickihttps://github.com/p-sawicki
python:masterhttps://github.com/python/mypy/tree/master
p-sawicki:clear-coroutine-env-on-completionhttps://github.com/p-sawicki/mypy/tree/clear-coroutine-env-on-completion
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
Jul 15, 2026https://github.com/python/mypy/pull/21734#issue-4895057276
Please reload this pagehttps://github.com/python/mypy/pull/21734
Please reload this pagehttps://github.com/python/mypy/pull/21734
p-sawickihttps://github.com/p-sawicki
July 15, 2026 16:20https://github.com/python/mypy/pull/21734#commits-pushed-eacb22c
https://github.com/p-sawicki
[mypyc] Clear coroutine env on coroutine completionhttps://github.com/python/mypy/pull/21734/commits/eacb22c37cd87e4f5c88b06be0cf7a612a6abd56
eacb22chttps://github.com/python/mypy/pull/21734/commits/eacb22c37cd87e4f5c88b06be0cf7a612a6abd56
https://github.com/p-sawicki
Clear the env in more cases; call the clear function staticallyhttps://github.com/python/mypy/pull/21734/commits/ae22c7abaf02cf2d3899fabb70d4379bd734d82b
ae22c7ahttps://github.com/python/mypy/pull/21734/commits/ae22c7abaf02cf2d3899fabb70d4379bd734d82b
https://github.com/p-sawicki
Add mixed compiled/interpreted test caseshttps://github.com/python/mypy/pull/21734/commits/3b0ee2cf3bba8a37ea1dbb23a972aa07c1521993
3b0ee2chttps://github.com/python/mypy/pull/21734/commits/3b0ee2cf3bba8a37ea1dbb23a972aa07c1521993
https://github.com/p-sawicki
Disable tests on free-threaded pythonhttps://github.com/python/mypy/pull/21734/commits/7985f76e03e804a02d4757d8d760f62a9525c396
7985f76https://github.com/python/mypy/pull/21734/commits/7985f76e03e804a02d4757d8d760f62a9525c396
https://github.com/p-sawicki
Avoid clearing free variableshttps://github.com/python/mypy/pull/21734/commits/8d21fda55c80c7407bcc62fdf45ab65347b96430
8d21fdahttps://github.com/python/mypy/pull/21734/commits/8d21fda55c80c7407bcc62fdf45ab65347b96430
https://github.com/p-sawicki
Add more testshttps://github.com/python/mypy/pull/21734/commits/ed02d1b4fef36138d835c93f65b1377c8a74539e
ed02d1bhttps://github.com/python/mypy/pull/21734/commits/ed02d1b4fef36138d835c93f65b1377c8a74539e
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 17, 2026 https://github.com/python/mypy/pull/21734#pullrequestreview-4723667737
View reviewed changes https://github.com/python/mypy/pull/21734/files/ed02d1b4fef36138d835c93f65b1377c8a74539e
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
2601fb7https://github.com/python/mypy/commit/2601fb7916742dc8a020bb4a010bad45f1fd6f4f
Jul 17, 2026https://github.com/python/mypy/pull/21734#event-28131116380
Please reload this pagehttps://github.com/python/mypy/pull/21734
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
July 17, 2026 16:17https://github.com/python/mypy/pull/21734#event-28131129083
hauntsaninjahttps://github.com/hauntsaninja
Aug 15, 2026 https://github.com/python/mypy/pull/21734#ref-commit-14f5df9
https://github.com/p-sawicki
https://github.com/hauntsaninja
[mypyc] Clear coroutine env on coroutine completion (https://github.com/python/mypy/commit/14f5df93ed8d1be4f4cc9c447eb2e6e619362e05
#21734https://github.com/python/mypy/pull/21734
)https://github.com/python/mypy/commit/14f5df93ed8d1be4f4cc9c447eb2e6e619362e05
14f5df9https://github.com/python/mypy/commit/14f5df93ed8d1be4f4cc9c447eb2e6e619362e05
MateoGreilhttps://github.com/MateoGreil
Aug 15, 2026 https://github.com/python/mypy/pull/21734#ref-commit-fc6712d
https://github.com/MateoGreil
⬆️ Update dependency mypy to v2.3.1 (#54)https://github.com/MateoGreil/python-comwatt-client/commit/fc6712d85c61379e1196a2c3561b672f795223b0
fc6712dhttps://github.com/MateoGreil/python-comwatt-client/commit/fc6712d85c61379e1196a2c3561b672f795223b0
https://docs.renovatebot.com/merge-confidence/https://docs.renovatebot.com/merge-confidence/
https://docs.renovatebot.com/merge-confidence/https://docs.renovatebot.com/merge-confidence/
https://github.com/python/mypyhttps://github.com/python/mypy
https://mypy.readthedocs.io/en/latest/changelog.htmlhttps://mypy.readthedocs.io/en/latest/changelog.html
https://developer.mend.io/api/mc/badges/age/pypi/mypy/2.3.1?slim=truehttps://developer.mend.io/api/mc/badges/age/pypi/mypy/2.3.1?slim=true
https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/2.3.0/2.3.1?slim=truehttps://developer.mend.io/api/mc/badges/confidence/pypi/mypy/2.3.0/2.3.1?slim=true
https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-231https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-231
python/mypy@v2.3.0...v2.3.1https://github.com/python/mypy/compare/v2.3.0...v2.3.1
python/mypy#21826https://github.com/python/mypy/pull/21826
python/mypy#21785https://github.com/python/mypy/pull/21785
python/mypy#21734https://github.com/python/mypy/pull/21734
python/mypy#21830https://github.com/python/mypy/pull/21830
https://github.com/renovatebot/renovatehttps://github.com/renovatebot/renovate
https://git.greil.fr/mat/python-comwatt-client/pulls/54https://git.greil.fr/mat/python-comwatt-client/pulls/54
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F21734
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/21734/files/ed02d1b4fef36138d835c93f65b1377c8a74539e
Please reload this pagehttps://github.com/python/mypy/pull/21734
Please reload this pagehttps://github.com/python/mypy/pull/21734
https://github.com/p-sawicki
https://github.com/JukkaL
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.