René's URL Explorer Experiment


Title: gh-144384: Lazily import `_colorize` by hugovk · Pull Request #149318 · python/cpython · GitHub

Open Graph Title: gh-144384: Lazily import `_colorize` by hugovk · Pull Request #149318 · python/cpython

X Title: gh-144384: Lazily import `_colorize` by hugovk · Pull Request #149318 · python/cpython

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

Open Graph Description: Lazily import _colorize to avoid slow construction/import when not needed. The easily testable: Before After difflib: 10ms 2ms (80% faster) doctest: 48ms 40ms (17% faster) json.tool:...

X Description: Lazily import _colorize to avoid slow construction/import when not needed. The easily testable: Before After difflib: 10ms 2ms (80% faster) doctest: 48ms 40ms (17% faster) json.tool:...

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

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:b963c0f8-3e47-cec0-4734-1aaf1c010e9d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B84:2454CC:3A0C57B:49A4D69:6B01FDE8
html-safe-nonce57802a415eb08f23e7981bcd8b80ad238f217ac72f62aa38ec09dbc647a6998c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjg0OjI0NTRDQzozQTBDNTdCOjQ5QTRENjk6NkIwMUZERTgiLCJ2aXNpdG9yX2lkIjoiMjE3MjA2NDk5MzE3MDgxNjQ4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf2b2d8e01b4366f0e84ff84821c35c073a256013aa743dbc6a9ccbeb29a36e19
hovercard-subject-tagpull_request:3620256569
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/149318/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/42848e978b783dadaa5f5935d1225e386ddf10a70ea2e7475c04d1d848ed89b6/python/cpython/pull/149318
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/42848e978b783dadaa5f5935d1225e386ddf10a70ea2e7475c04d1d848ed89b6/python/cpython/pull/149318
og:image:altLazily import _colorize to avoid slow construction/import when not needed. The easily testable: Before After difflib: 10ms 2ms (80% faster) doctest: 48ms 40ms (17% faster) json.tool:...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehugovk
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/149318#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149318
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%2Fpull%2F149318
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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/149318
Reloadhttps://github.com/python/cpython/pull/149318
Reloadhttps://github.com/python/cpython/pull/149318
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
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:3.15-lazy-_colorizehttps://github.com/hugovk/cpython/tree/3.15-lazy-_colorize
Conversationhttps://github.com/python/cpython/pull/149318
Commits16 (16)https://github.com/python/cpython/pull/149318/commits
Checkshttps://github.com/python/cpython/pull/149318/checks
Files changedhttps://github.com/python/cpython/pull/149318/files
gh-144384: Lazily import _colorizehttps://github.com/python/cpython/pull/149318#top
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:3.15-lazy-_colorizehttps://github.com/hugovk/cpython/tree/3.15-lazy-_colorize
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 3, 2026https://github.com/python/cpython/pull/149318#issue-4372064562
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://private-user-images.githubusercontent.com/1324225/586839430-ba5e1486-66c2-4871-bd18-4b3d18855aeb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4NjgzOTQzMC1iYTVlMTQ4Ni02NmMyLTQ4NzEtYmQxOC00YjNkMTg4NTVhZWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWYzOThiODA2ZWFmNGRiNDVkMzJhYWQ0ZTA0ZDhlYjk2ZWM1ZTZiNzZlYTFmYjdiYjIxMjE2Yjc5NGVmYmZlNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.9gYUlcN0VT_He3R39YYnwl09OTWdZjM7SNlnoPxHOqw
https://private-user-images.githubusercontent.com/1324225/586839461-36ca8409-42a1-43d4-9488-53d9f4780b63.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4NjgzOTQ2MS0zNmNhODQwOS00MmExLTQzZDQtOTQ4OC01M2Q5ZjQ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WM1YWZjMmY3ZDRiYzg5MDM0Yzk5ODJjOTdmNzlkMzlhYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.MRiOVIehoPzVqaRkjfqSSYBA5CTC1Svt4GSwPlEN1_I
https://private-user-images.githubusercontent.com/1324225/586839734-9a28f6df-06fe-4d20-bae7-474cf0d1513c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4NjgzOTczNC05YTI4ZjZkZi0wNmZlLTRkMjAtYmFlNy00NzRjZjBkMTUxM2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzYwNjIzYTg1NTI5NjJjYTlhNTg4NDYyMGE0NWU1YjY4MGI1MTliMGUxMmQ2N2YxZDQyNzE4ZmM4ZjZmNjZkZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.bPeH5N2Kjl_2olPqt42IAmLV6yeWU_d3idtImZDazUA
https://private-user-images.githubusercontent.com/1324225/586839887-66cc5dc2-0ee1-4b02-a173-21554be0287a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiw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dlJTJGcG5nIn0.AwcgICR68RF95mW-pqTsMsYogyK-BimVr793fNYDutg
https://private-user-images.githubusercontent.com/1324225/586839942-65d908ac-63ab-4923-a47e-699bab975fb1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4NjgzOTk0Mi02NWQ5MDhhYy02M2FiLTQ5MjMtYTQ3ZS02OTliYWI5NzVmYjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTg5MWE5MmRjZWJiZWJmNGU2NGQ0ZjE3NmQyYTIzOTIxYWRmNzhmMDEzZmU4MDI4OWNhMDhhMDIwNDI4NjFmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.dOx3I5byjoph7WYmAG_zz0A3He0Ck3T49zQdpjISBGs
https://private-user-images.githubusercontent.com/1324225/586839991-e1b7cb01-601c-4718-aed2-19cdbc68d4f7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8x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TMwMCZYLUFtei1TaWduYXR1cmU9MTBlNjhjNDRjYWQ3ZmU2MWFiZjcxYWJiZTlkNTFhNWNjZDE4ZTcwY2JjNDkzMTc2YWE3NDRiZjhjMjNkN2M2NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.PaOVtd-0VcFcSAv91FTTmWzx7J6gNo0bEp-lgYHboSQ
https://private-user-images.githubusercontent.com/1324225/586840163-5871495d-7e14-42c2-b6bd-e3fadbacf82b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4Njg0MDE2My01ODcxNDk1ZC03ZTE0LTQyYzItYjZiZC1lM2ZhZGJhY2Y4MmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTUzYWFmYmYzY2U2MzgwZWU4NjY1MjM4MDg1NGJjNzVlYzVkYzZmMjhlMzE2MTEyYzg1MzhiNTQwOWIyNjhkNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.6hMSgOwtlQMuGNy3fQK-QHuWIdq3iY1-XPeiX-yhIQk
https://private-user-images.githubusercontent.com/1324225/586840172-933bac09-1f7c-438d-b849-95ad52534186.png?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RlZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.SngHD3mTenKk4fqAHLwW0lD1ZXR8P_o6g9LZUa2rzzI
https://private-user-images.githubusercontent.com/1324225/586841174-e3f627f9-d749-4860-a914-f21dd9cd775a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4Njg0MTE3NC1lM2Y2MjdmOS1kNzQ5LTQ4NjAtYTkxNC1mMjFkZDljZDc3NWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmMzN2NkYTZkMjllNjMyODNhY2M2ZDU1MDM3NWRkYmM3YTVkNjUzZDAyMTcxMTVkNGU5MDI0YTUxYTFlNGM1YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.iJmPYpBn15_Q9Ll1e2QXt98k7CvQ0_f3eCVKP2vTlIU
https://private-user-images.githubusercontent.com/1324225/586841171-1d9423ed-5b32-4fc7-b73f-c0070d9fbfdb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4Njg0MTE3MS0xZDk0MjNlZC01YjMyLTRmYzctYjczZi1jMDA3MGQ5ZmJmZGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjBjYjhmZmE0OTQ0ODAyODhjYWRhM2NkMGJiYjVlMjYxNmMxM2YxZjYzYmJjOGQ4OTY4M2E5NDBmNzQ3YmUxZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.glohMZAlIjKJgCm2Et3Ku7v3zaFBHxVSd-gvT2tCXd0
_colorize module is slow to import, affecting traceback and logging modules #144384https://github.com/python/cpython/issues/144384
Please reload this pagehttps://github.com/python/cpython/pull/149318
hugovkhttps://github.com/hugovk
May 3, 2026 16:13https://github.com/python/cpython/pull/149318#commits-pushed-e5559c2
https://github.com/hugovk
Lazy import _colorize in traceback with shutdown fallbackhttps://github.com/python/cpython/pull/149318/commits/e5559c2b67ff7a22906c03ac76d44345335da0c4
e5559c2https://github.com/python/cpython/pull/149318/commits/e5559c2b67ff7a22906c03ac76d44345335da0c4
https://github.com/hugovk
Lazy import _colorizehttps://github.com/python/cpython/pull/149318/commits/5d16d313b98bb7c13044639da8443ec94fe75e8b
5d16d31https://github.com/python/cpython/pull/149318/commits/5d16d313b98bb7c13044639da8443ec94fe75e8b
https://github.com/hugovk
Add tests to ensure lazy imports are lazy and fix sqlite3's mainhttps://github.com/python/cpython/pull/149318/commits/c31b1a54f46d3bd622ad7dd33c273604dcad661e
c31b1a5https://github.com/python/cpython/pull/149318/commits/c31b1a54f46d3bd622ad7dd33c273604dcad661e
https://github.com/hugovk
Add newshttps://github.com/python/cpython/pull/149318/commits/6a88c2deeb30e58d4b17f12e2593b6567521d739
6a88c2dhttps://github.com/python/cpython/pull/149318/commits/6a88c2deeb30e58d4b17f12e2593b6567521d739
https://github.com/hugovk
hugovkhttps://github.com/hugovk
berkerpeksaghttps://github.com/berkerpeksag
code ownerhttps://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L591
May 3, 2026 14:32https://github.com/python/cpython/pull/149318#event-25108348039
https://github.com/hugovk
hugovkhttps://github.com/hugovk
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
May 3, 2026https://github.com/python/cpython/pull/149318#event-25108348155
https://github.com/hugovk
hugovkhttps://github.com/hugovk
erlend-aaslandhttps://github.com/erlend-aasland
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L591
May 3, 2026 14:32https://github.com/python/cpython/pull/149318#event-25108348171
https://github.com/hugovk
hugovkhttps://github.com/hugovk
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
May 3, 2026https://github.com/python/cpython/pull/149318#event-25108348204
https://github.com/hugovk
hugovkhttps://github.com/hugovk
ambvhttps://github.com/ambv
gaogaotiantianhttps://github.com/gaogaotiantian
code ownershttps://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L562
May 3, 2026 14:32https://github.com/python/cpython/pull/149318#event-25108348218
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 3, 2026 https://github.com/python/cpython/pull/149318#ref-issue-3883386667
_colorize module is slow to import, affecting traceback and logging modules #144384 https://github.com/python/cpython/issues/144384
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
May 3, 2026https://github.com/python/cpython/pull/149318#event-25108349512
https://github.com/picnixz
picnixzhttps://github.com/picnixz
May 3, 2026 https://github.com/python/cpython/pull/149318#pullrequestreview-4216428577
View reviewed changes https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739
picnixzhttps://github.com/picnixz
https://github.com/python/cpython/pull/149318#pullrequestreview-4216428577
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149318
Lib/_pyrepl/fancycompleter.pyhttps://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-cd6878b16a1b574c6cc79ad867802d8b0adc6e95ce1d0003f46703dc1a9ca2bd
Please reload this pagehttps://github.com/python/cpython/pull/149318
Lib/traceback.pyhttps://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
Please reload this pagehttps://github.com/python/cpython/pull/149318
Lib/traceback.pyhttps://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
Use mypy on 3.15 to support lazy keywordhttps://github.com/python/cpython/pull/149318/commits/1d36600f6c19278c6cf119581e280bb4129fecd0
1d36600https://github.com/python/cpython/pull/149318/commits/1d36600f6c19278c6cf119581e280bb4129fecd0
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
May 3, 2026 https://github.com/python/cpython/pull/149318#ref-issue-4372123246
What is supposed to work under -X lazy_imports=none? #149321 https://github.com/python/cpython/issues/149321
https://github.com/hugovk
List lazy laterhttps://github.com/python/cpython/pull/149318/commits/9fc265e000fb6818317efb4a1539468b93b427eb
9fc265ehttps://github.com/python/cpython/pull/149318/commits/9fc265e000fb6818317efb4a1539468b93b427eb
https://github.com/hugovk
hugovkhttps://github.com/hugovk
AA-Turnerhttps://github.com/AA-Turner
ezio-melottihttps://github.com/ezio-melotti
webknjazhttps://github.com/webknjaz
code ownershttps://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L66
May 3, 2026 15:32https://github.com/python/cpython/pull/149318#event-25108986131
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 3, 2026 https://github.com/python/cpython/pull/149318#pullrequestreview-4216469277
View reviewed changes https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739
hugovkhttps://github.com/hugovk
https://github.com/python/cpython/pull/149318#pullrequestreview-4216469277
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
astral-sh/ruff#23762https://github.com/astral-sh/ruff/pull/23762
astral-sh/ruff#21305https://github.com/astral-sh/ruff/issues/21305
PyCQA/isort#2503https://github.com/PyCQA/isort/pull/2503
PyCQA/isort#2462https://github.com/PyCQA/isort/issues/2462
Please reload this pagehttps://github.com/python/cpython/pull/149318
Lib/traceback.pyhttps://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
Please reload this pagehttps://github.com/python/cpython/pull/149318
Lib/traceback.pyhttps://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/picnixz
picnixzhttps://github.com/picnixz
May 3, 2026 https://github.com/python/cpython/pull/149318#pullrequestreview-4216487067
View reviewed changes https://github.com/python/cpython/pull/149318/files/9fc265e000fb6818317efb4a1539468b93b427eb
Lib/traceback.pyhttps://github.com/python/cpython/pull/149318/files/9fc265e000fb6818317efb4a1539468b93b427eb#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
May 3, 2026https://github.com/python/cpython/pull/149318#issuecomment-4366549019
#149321https://github.com/python/cpython/issues/149321
Please reload this pagehttps://github.com/python/cpython/pull/149318
hugovkhttps://github.com/hugovk
May 3, 2026 18:48https://github.com/python/cpython/pull/149318#commits-pushed-5990755
https://github.com/hugovk
Move shutdown theme below __all__https://github.com/python/cpython/pull/149318/commits/59907556db7aae6b93ccb3b06e180edd38dfb3d7
5990755https://github.com/python/cpython/pull/149318/commits/59907556db7aae6b93ccb3b06e180edd38dfb3d7
https://github.com/hugovk
Merge branch 'main' into 3.15-lazy-_colorizehttps://github.com/python/cpython/pull/149318/commits/dfe32c596835512486fce0f59ed0a6365c37f788
dfe32c5https://github.com/python/cpython/pull/149318/commits/dfe32c596835512486fce0f59ed0a6365c37f788
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 4, 2026https://github.com/python/cpython/pull/149318#issuecomment-4373905267
#149321https://github.com/python/cpython/issues/149321
#149338https://github.com/python/cpython/pull/149338
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
Merge branch 'main' into 3.15-lazy-_colorizehttps://github.com/python/cpython/pull/149318/commits/3a6306c3e7fea70fc04bd051302890950316bce8
3a6306chttps://github.com/python/cpython/pull/149318/commits/3a6306c3e7fea70fc04bd051302890950316bce8
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 4, 2026https://github.com/python/cpython/pull/149318#issuecomment-4374029349
#149321https://github.com/python/cpython/issues/149321
https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQG1OfBTMZO_fBkVMmGqQC3NLBLamiI6KOEL7KpsobFJ4Q==https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQG1OfBTMZO_fBkVMmGqQC3NLBLamiI6KOEL7KpsobFJ4Q==
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
Merge remote-tracking branch 'upstream/main' into 3.15-lazy-_colorizehttps://github.com/python/cpython/pull/149318/commits/2d346d5a1ea3b58c4aef7e665a7c1c545fb95d08
2d346d5https://github.com/python/cpython/pull/149318/commits/2d346d5a1ea3b58c4aef7e665a7c1c545fb95d08
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4387925108
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
May 6, 2026 https://github.com/python/cpython/pull/149318#pullrequestreview-4236126425
View reviewed changes https://github.com/python/cpython/pull/149318/files/2d346d5a1ea3b58c4aef7e665a7c1c545fb95d08
sergey-miryanovhttps://github.com/sergey-miryanov
https://github.com/python/cpython/pull/149318#pullrequestreview-4236126425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4388292691
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4388304039
ArgumentParser()https://github.com/python/cpython/issues/148823
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4388653478
Please reload this pagehttps://github.com/python/cpython/pull/149318
Please reload this pagehttps://github.com/python/cpython/pull/149318
hugovkhttps://github.com/hugovk
May 6, 2026 16:43https://github.com/python/cpython/pull/149318#commits-pushed-82e17cf
https://github.com/hugovk
Revert 'lazy import _colorize' in pyreplhttps://github.com/python/cpython/pull/149318/commits/82e17cfc5acbe8be73336705593aa798d6d0b4cd
82e17cfhttps://github.com/python/cpython/pull/149318/commits/82e17cfc5acbe8be73336705593aa798d6d0b4cd
https://github.com/hugovk
Revert 'lazy import _colorize' in pyreplhttps://github.com/python/cpython/pull/149318/commits/be0b1e3346de6d998c724b64408d06af945d5b03
be0b1e3https://github.com/python/cpython/pull/149318/commits/be0b1e3346de6d998c724b64408d06af945d5b03
https://github.com/hugovk
Revert 'lazy import _colorize' in sqlite3.__main__https://github.com/python/cpython/pull/149318/commits/0bb09565542d802c84b0fb54c4151e4947b59739
0bb0956https://github.com/python/cpython/pull/149318/commits/0bb09565542d802c84b0fb54c4151e4947b59739
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4388705719
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4388734062
Please reload this pagehttps://github.com/python/cpython/pull/149318
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#32566767https://app.readthedocs.org/projects/cpython-previews/builds/32566767/
ed1f8e6https://github.com/python/cpython/commit/ed1f8e6dc299a42af1e78cdb03befbeb39453a47
mainhttps://cpython-previews.readthedocs.io/en/main/
ffa4d47https://github.com/python/cpython/commit/ffa4d47abdbf38bb5d022d2e37949226cdff7198
  🔍 Preview build   https://cpython-previews--149318.org.readthedocs.build/en/149318/
c-api/type.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/c-api/type.html
library/datatypes.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/datatypes.html
library/difflib.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/difflib.html
library/functions.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/functions.html
library/pprint.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/pprint.html
library/ssl.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/ssl.html
library/unittest.mock.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/unittest.mock.html
library/xml.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/library/xml.html
tutorial/stdlib2.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/tutorial/stdlib2.html
whatsnew/3.15.htmlhttps://cpython-previews--149318.org.readthedocs.build/en/149318/whatsnew/3.15.html
Please reload this pagehttps://github.com/python/cpython/pull/149318
hugovkhttps://github.com/hugovk
May 6, 2026 17:14https://github.com/python/cpython/pull/149318#commits-pushed-7bcfc9c
https://github.com/hugovk
Revert 'lazy import _colorize' in sqlite3.__main__https://github.com/python/cpython/pull/149318/commits/7bcfc9c392f20482a18f70a584fb43469f76b309
7bcfc9chttps://github.com/python/cpython/pull/149318/commits/7bcfc9c392f20482a18f70a584fb43469f76b309
https://github.com/hugovk
Revert 'lazy import _colorize' in pdb, it imports via _pyreplhttps://github.com/python/cpython/pull/149318/commits/85588e12f3ee718b219325dc22b61d223d9414b2
85588e1https://github.com/python/cpython/pull/149318/commits/85588e12f3ee718b219325dc22b61d223d9414b2
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4389084294
https://private-user-images.githubusercontent.com/1324225/588339077-4749a8b6-bc14-4848-b0e2-4bfdd2436920.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4ODMzOTA3Ny00NzQ5YThiNi1iYzE0LTQ4NDgtYjBlMi00YmZkZDI0MzY5MjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWQ5ZDNhOTk5MTIxMmEyM2MwMTNkYTE4NDMxYmI0ZWU0OWE1OWU3YTFmY2VjY2E3OGM5NjMxZmI5YzA0Y2IxZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.hhMeYIsel-o75XTSJTU2RN5YDEHrkpfqEkA6q63IixQ
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4389436983
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 6, 2026 https://github.com/python/cpython/pull/149318#pullrequestreview-4237321701
View reviewed changes https://github.com/python/cpython/pull/149318/files/85588e12f3ee718b219325dc22b61d223d9414b2
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/cpython/pull/149318#pullrequestreview-4237321701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 6, 2026https://github.com/python/cpython/pull/149318#event-25224616002
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4389461049
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
Revert 'lazy import _colorize' in json.toolhttps://github.com/python/cpython/pull/149318/commits/ed1f8e6dc299a42af1e78cdb03befbeb39453a47
ed1f8e6https://github.com/python/cpython/pull/149318/commits/ed1f8e6dc299a42af1e78cdb03befbeb39453a47
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 6, 2026 https://github.com/python/cpython/pull/149318#pullrequestreview-4237605400
View reviewed changes https://github.com/python/cpython/pull/149318/files/ed1f8e6dc299a42af1e78cdb03befbeb39453a47
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/cpython/pull/149318#pullrequestreview-4237605400
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
May 6, 2026https://github.com/python/cpython/pull/149318#event-25226034183
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026 16:00https://github.com/python/cpython/pull/149318#event-25226490373
https://github.com/hugovk
hugovkhttps://github.com/hugovk
7cea70ehttps://github.com/python/cpython/commit/7cea70e14dac091cbd7e0601b96a59458f8c9bee
May 6, 2026https://github.com/python/cpython/pull/149318#event-25226765611
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026 16:07https://github.com/python/cpython/pull/149318#event-25226768583
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 6, 2026https://github.com/python/cpython/pull/149318#event-25226770029
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026https://github.com/python/cpython/pull/149318#issuecomment-4389978943
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/IvyXu420
IvyXu420https://github.com/IvyXu420
May 20, 2026 https://github.com/python/cpython/pull/149318#ref-pullrequest-4476646218
gh-150072: Optimize logging imports by lazily importing traceback #150073 https://github.com/python/cpython/pull/150073
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Jun 17, 2026 https://github.com/python/cpython/pull/149318#ref-pullrequest-4676996381
Use lazy imports on Python 3.15 to improve startup speed jazzband/tablib#645 https://github.com/jazzband/tablib/pull/645
https://github.com/edvilme
edvilmehttps://github.com/edvilme
Jul 23, 2026 https://github.com/python/cpython/pull/149318#ref-pullrequest-4937879580
gh-154335: Allow disabling terminal colors in Tachyon's pstats_collector module #154344 https://github.com/python/cpython/pull/154344
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%2F149318
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/149318/files/9fc265e000fb6818317efb4a1539468b93b427eb
https://github.com/sergey-miryanov
sergey-miryanov https://github.com/sergey-miryanov
https://github.com/python/cpython/pull/149318/files/2d346d5a1ea3b58c4aef7e665a7c1c545fb95d08
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/149318/files/ed1f8e6dc299a42af1e78cdb03befbeb39453a47
https://github.com/berkerpeksag
berkerpeksag https://github.com/berkerpeksag
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/gaogaotiantian
gaogaotiantian https://github.com/gaogaotiantian
https://github.com/ezio-melotti
ezio-melotti https://github.com/ezio-melotti
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/webknjaz
webknjaz https://github.com/webknjaz
Please reload this pagehttps://github.com/python/cpython/pull/149318
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
Please reload this pagehttps://github.com/python/cpython/pull/149318
https://github.com/hugovk
https://github.com/StanFromIreland
https://github.com/JelleZijlstra
https://github.com/DavidCEllis
https://github.com/sergey-miryanov
https://github.com/picnixz
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.