| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b963c0f8-3e47-cec0-4734-1aaf1c010e9d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B84:2454CC:3A0C57B:49A4D69:6B01FDE8 |
| html-safe-nonce | 57802a415eb08f23e7981bcd8b80ad238f217ac72f62aa38ec09dbc647a6998c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjg0OjI0NTRDQzozQTBDNTdCOjQ5QTRENjk6NkIwMUZERTgiLCJ2aXNpdG9yX2lkIjoiMjE3MjA2NDk5MzE3MDgxNjQ4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f2b2d8e01b4366f0e84ff84821c35c073a256013aa743dbc6a9ccbeb29a36e19 |
| hovercard-subject-tag | pull_request:3620256569 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/149318/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/42848e978b783dadaa5f5935d1225e386ddf10a70ea2e7475c04d1d848ed89b6/python/cpython/pull/149318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42848e978b783dadaa5f5935d1225e386ddf10a70ea2e7475c04d1d848ed89b6/python/cpython/pull/149318 |
| og:image:alt | 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:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hugovk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/149318#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149318 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149318 |
| 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 |
| Reload | https://github.com/python/cpython/pull/149318 |
| Reload | https://github.com/python/cpython/pull/149318 |
| Reload | https://github.com/python/cpython/pull/149318 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| hugovk | https://github.com/hugovk |
| python:main | https://github.com/python/cpython/tree/main |
| hugovk:3.15-lazy-_colorize | https://github.com/hugovk/cpython/tree/3.15-lazy-_colorize |
| Conversation | https://github.com/python/cpython/pull/149318 |
| Commits16 (16) | https://github.com/python/cpython/pull/149318/commits |
| Checks | https://github.com/python/cpython/pull/149318/checks |
| Files changed | https://github.com/python/cpython/pull/149318/files |
| gh-144384: Lazily import _colorize | https://github.com/python/cpython/pull/149318#top |
| hugovk | https://github.com/hugovk |
| python:main | https://github.com/python/cpython/tree/main |
| hugovk:3.15-lazy-_colorize | https://github.com/hugovk/cpython/tree/3.15-lazy-_colorize |
|
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 3, 2026 | https://github.com/python/cpython/pull/149318#issue-4372064562 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://private-user-images.githubusercontent.com/1324225/586839430-ba5e1486-66c2-4871-bd18-4b3d18855aeb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE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
| 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4NjgzOTg4Ny02NmNjNWRjMi0wZWUxLTRiMDItY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ZlZjA0NGVjNTg2OTBiYmNiYzEwNDNlMDBhMzg0ODRhYWVlNWNkNDNjMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.7J7NEzz4p7-s_q8ZRSwM3nRfCbA4CjUD9GsAMAZQ-hw |
| https://private-user-images.githubusercontent.com/1324225/586839922-9f2f2b2a-0db3-4e54-a4f4-c727006b43f9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4NjgzOTkyMi05ZjJmMmIyYS0wZGIzLTRlNTQtYTRmNC1jNzI3MDA2YjQzZjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDA4N2YwMmFjMjk0ZGFiNTk0MjQ1OGVlZjZiNzZhNDEyMGQ1ZDU3NjExYzc1YmZiZDllZDhkNWY5MDIxZDAxOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.AwcgICR68RF95mW-pqTsMsYogyK-BimVr793fNYDutg |
| https://private-user-images.githubusercontent.com/1324225/586839942-65d908ac-63ab-4923-a47e-699bab975fb1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ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G9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.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?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5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MjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2YxZTU3Zjk1MzJhNTU5ODhiMTM1MjhjZjE1ZjUwZTIwODVlNDVkZjVhZjg2ZDJiMWYzMGVlYmNhYzA1Y2YxMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.tdoW0qHlGayxGpsfi1-9rmJgkGvNFKsQaJd2na4o5AA |
| https://private-user-images.githubusercontent.com/1324225/586841256-d1706636-9ab6-4eb1-9d7e-27470688ade6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTI5NDksIm5iZiI6MTc5NTI5MjY0OSwicGF0aCI6Ii8xMzI0MjI1LzU4Njg0MTI1Ni1kMTcwNjYzNi05YWI2LTRlYjEtOWQ3ZS0yNzQ3MDY4OGFkZTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAyNDA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTc5MjZhMmUxZGNiZmZlN2JhZDBmNjg2OGMxYWRkODI0ODg2ODNjM2I3YWI2NjdhNTYwYTFkMTA2OWUwMmRlZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.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 #144384 | https://github.com/python/cpython/issues/144384 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| hugovk | https://github.com/hugovk |
| May 3, 2026 16:13 | https://github.com/python/cpython/pull/149318#commits-pushed-e5559c2 |
|
| https://github.com/hugovk |
| Lazy import _colorize in traceback with shutdown fallback | https://github.com/python/cpython/pull/149318/commits/e5559c2b67ff7a22906c03ac76d44345335da0c4 |
| e5559c2 | https://github.com/python/cpython/pull/149318/commits/e5559c2b67ff7a22906c03ac76d44345335da0c4 |
|
| https://github.com/hugovk |
| Lazy import _colorize | https://github.com/python/cpython/pull/149318/commits/5d16d313b98bb7c13044639da8443ec94fe75e8b |
| 5d16d31 | https://github.com/python/cpython/pull/149318/commits/5d16d313b98bb7c13044639da8443ec94fe75e8b |
|
| https://github.com/hugovk |
| Add tests to ensure lazy imports are lazy and fix sqlite3's main | https://github.com/python/cpython/pull/149318/commits/c31b1a54f46d3bd622ad7dd33c273604dcad661e |
| c31b1a5 | https://github.com/python/cpython/pull/149318/commits/c31b1a54f46d3bd622ad7dd33c273604dcad661e |
|
| https://github.com/hugovk |
| Add news | https://github.com/python/cpython/pull/149318/commits/6a88c2deeb30e58d4b17f12e2593b6567521d739 |
| 6a88c2d | https://github.com/python/cpython/pull/149318/commits/6a88c2deeb30e58d4b17f12e2593b6567521d739 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| berkerpeksag | https://github.com/berkerpeksag |
| code owner | https://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L591 |
| May 3, 2026 14:32 | https://github.com/python/cpython/pull/149318#event-25108348039 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
| May 3, 2026 | https://github.com/python/cpython/pull/149318#event-25108348155 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| erlend-aasland | https://github.com/erlend-aasland |
| lysnikolaou | https://github.com/lysnikolaou |
| pablogsal | https://github.com/pablogsal |
| code owners | https://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L591 |
| May 3, 2026 14:32 | https://github.com/python/cpython/pull/149318#event-25108348171 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
stdlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
| May 3, 2026 | https://github.com/python/cpython/pull/149318#event-25108348204 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| ambv | https://github.com/ambv |
| gaogaotiantian | https://github.com/gaogaotiantian |
| code owners | https://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L562 |
| May 3, 2026 14:32 | https://github.com/python/cpython/pull/149318#event-25108348218 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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-app | https://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, 2026 | https://github.com/python/cpython/pull/149318#event-25108349512 |
| https://github.com/picnixz |
| picnixz | https://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 |
| picnixz | https://github.com/picnixz |
| https://github.com/python/cpython/pull/149318#pullrequestreview-4216428577 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| Lib/_pyrepl/fancycompleter.py | https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-cd6878b16a1b574c6cc79ad867802d8b0adc6e95ce1d0003f46703dc1a9ca2bd |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| Lib/traceback.py | https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| Lib/traceback.py | https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
|
| https://github.com/hugovk |
| Use mypy on 3.15 to support lazy keyword | https://github.com/python/cpython/pull/149318/commits/1d36600f6c19278c6cf119581e280bb4129fecd0 |
| 1d36600 | https://github.com/python/cpython/pull/149318/commits/1d36600f6c19278c6cf119581e280bb4129fecd0 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://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 later | https://github.com/python/cpython/pull/149318/commits/9fc265e000fb6818317efb4a1539468b93b427eb |
| 9fc265e | https://github.com/python/cpython/pull/149318/commits/9fc265e000fb6818317efb4a1539468b93b427eb |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| AA-Turner | https://github.com/AA-Turner |
| ezio-melotti | https://github.com/ezio-melotti |
| webknjaz | https://github.com/webknjaz |
| code owners | https://github.com/python/cpython/blob/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1/.github/CODEOWNERS#L66 |
| May 3, 2026 15:32 | https://github.com/python/cpython/pull/149318#event-25108986131 |
| https://github.com/hugovk |
| hugovk | https://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 |
| hugovk | https://github.com/hugovk |
| https://github.com/python/cpython/pull/149318#pullrequestreview-4216469277 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| astral-sh/ruff#23762 | https://github.com/astral-sh/ruff/pull/23762 |
| astral-sh/ruff#21305 | https://github.com/astral-sh/ruff/issues/21305 |
| PyCQA/isort#2503 | https://github.com/PyCQA/isort/pull/2503 |
| PyCQA/isort#2462 | https://github.com/PyCQA/isort/issues/2462 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| Lib/traceback.py | https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| Lib/traceback.py | https://github.com/python/cpython/pull/149318/files/6a88c2deeb30e58d4b17f12e2593b6567521d739#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/picnixz |
| picnixz | https://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.py | https://github.com/python/cpython/pull/149318/files/9fc265e000fb6818317efb4a1539468b93b427eb#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| May 3, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4366549019 |
| #149321 | https://github.com/python/cpython/issues/149321 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| hugovk | https://github.com/hugovk |
| May 3, 2026 18:48 | https://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 |
| 5990755 | https://github.com/python/cpython/pull/149318/commits/59907556db7aae6b93ccb3b06e180edd38dfb3d7 |
|
| https://github.com/hugovk |
| Merge branch 'main' into 3.15-lazy-_colorize | https://github.com/python/cpython/pull/149318/commits/dfe32c596835512486fce0f59ed0a6365c37f788 |
| dfe32c5 | https://github.com/python/cpython/pull/149318/commits/dfe32c596835512486fce0f59ed0a6365c37f788 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 4, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4373905267 |
| #149321 | https://github.com/python/cpython/issues/149321 |
| #149338 | https://github.com/python/cpython/pull/149338 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
|
| https://github.com/hugovk |
| Merge branch 'main' into 3.15-lazy-_colorize | https://github.com/python/cpython/pull/149318/commits/3a6306c3e7fea70fc04bd051302890950316bce8 |
| 3a6306c | https://github.com/python/cpython/pull/149318/commits/3a6306c3e7fea70fc04bd051302890950316bce8 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 4, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4374029349 |
| #149321 | https://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 page | https://github.com/python/cpython/pull/149318 |
|
| https://github.com/hugovk |
| Merge remote-tracking branch 'upstream/main' into 3.15-lazy-_colorize | https://github.com/python/cpython/pull/149318/commits/2d346d5a1ea3b58c4aef7e665a7c1c545fb95d08 |
| 2d346d5 | https://github.com/python/cpython/pull/149318/commits/2d346d5a1ea3b58c4aef7e665a7c1c545fb95d08 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4387925108 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/sergey-miryanov |
| sergey-miryanov | https://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-miryanov | https://github.com/sergey-miryanov |
| https://github.com/python/cpython/pull/149318#pullrequestreview-4236126425 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4388292691 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/DavidCEllis |
| DavidCEllis | https://github.com/DavidCEllis |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4388304039 |
| ArgumentParser() | https://github.com/python/cpython/issues/148823 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4388653478 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| hugovk | https://github.com/hugovk |
| May 6, 2026 16:43 | https://github.com/python/cpython/pull/149318#commits-pushed-82e17cf |
|
| https://github.com/hugovk |
| Revert 'lazy import _colorize' in pyrepl | https://github.com/python/cpython/pull/149318/commits/82e17cfc5acbe8be73336705593aa798d6d0b4cd |
| 82e17cf | https://github.com/python/cpython/pull/149318/commits/82e17cfc5acbe8be73336705593aa798d6d0b4cd |
|
| https://github.com/hugovk |
| Revert 'lazy import _colorize' in pyrepl | https://github.com/python/cpython/pull/149318/commits/be0b1e3346de6d998c724b64408d06af945d5b03 |
| be0b1e3 | https://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 |
| 0bb0956 | https://github.com/python/cpython/pull/149318/commits/0bb09565542d802c84b0fb54c4151e4947b59739 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4388705719 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/apps/read-the-docs-community |
| read-the-docs-community | https://github.com/apps/read-the-docs-community |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4388734062 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| cpython-previews | https://app.readthedocs.org/projects/cpython-previews/ |
| #32566767 | https://app.readthedocs.org/projects/cpython-previews/builds/32566767/ |
| ed1f8e6 | https://github.com/python/cpython/commit/ed1f8e6dc299a42af1e78cdb03befbeb39453a47 |
| main | https://cpython-previews.readthedocs.io/en/main/ |
| ffa4d47 | https://github.com/python/cpython/commit/ffa4d47abdbf38bb5d022d2e37949226cdff7198 |
| 🔍 Preview build | https://cpython-previews--149318.org.readthedocs.build/en/149318/ |
| c-api/type.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/c-api/type.html |
| library/datatypes.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/datatypes.html |
| library/difflib.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/difflib.html |
| library/functions.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/functions.html |
| library/pprint.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/pprint.html |
| library/ssl.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/ssl.html |
| library/unittest.mock.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/unittest.mock.html |
| library/xml.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/library/xml.html |
| tutorial/stdlib2.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/tutorial/stdlib2.html |
| whatsnew/3.15.html | https://cpython-previews--149318.org.readthedocs.build/en/149318/whatsnew/3.15.html |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| hugovk | https://github.com/hugovk |
| May 6, 2026 17:14 | https://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 |
| 7bcfc9c | https://github.com/python/cpython/pull/149318/commits/7bcfc9c392f20482a18f70a584fb43469f76b309 |
|
| https://github.com/hugovk |
| Revert 'lazy import _colorize' in pdb, it imports via _pyrepl | https://github.com/python/cpython/pull/149318/commits/85588e12f3ee718b219325dc22b61d223d9414b2 |
| 85588e1 | https://github.com/python/cpython/pull/149318/commits/85588e12f3ee718b219325dc22b61d223d9414b2 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 | https://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 page | https://github.com/python/cpython/pull/149318 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4389436983 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://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 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| https://github.com/python/cpython/pull/149318#pullrequestreview-4237321701 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2026 | https://github.com/python/cpython/pull/149318#event-25224616002 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4389461049 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
|
| https://github.com/hugovk |
| Revert 'lazy import _colorize' in json.tool | https://github.com/python/cpython/pull/149318/commits/ed1f8e6dc299a42af1e78cdb03befbeb39453a47 |
| ed1f8e6 | https://github.com/python/cpython/pull/149318/commits/ed1f8e6dc299a42af1e78cdb03befbeb39453a47 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://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 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| https://github.com/python/cpython/pull/149318#pullrequestreview-4237605400 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2026 | https://github.com/python/cpython/pull/149318#event-25226034183 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 16:00 | https://github.com/python/cpython/pull/149318#event-25226490373 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| 7cea70e | https://github.com/python/cpython/commit/7cea70e14dac091cbd7e0601b96a59458f8c9bee |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#event-25226765611 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 16:07 | https://github.com/python/cpython/pull/149318#event-25226768583 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#event-25226770029 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| May 6, 2026 | https://github.com/python/cpython/pull/149318#issuecomment-4389978943 |
| Please reload this page | https://github.com/python/cpython/pull/149318 |
| https://github.com/IvyXu420 |
| IvyXu420 | https://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 |
| hugovk | https://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 |
| edvilme | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |