René's URL Explorer Experiment


Title: `_colorize` module is slow to import, affecting `traceback` and `logging` modules · Issue #144384 · python/cpython · GitHub

Open Graph Title: `_colorize` module is slow to import, affecting `traceback` and `logging` modules · Issue #144384 · python/cpython

X Title: `_colorize` module is slow to import, affecting `traceback` and `logging` modules · Issue #144384 · python/cpython

Description: “It is a truth universally acknowledged, that a module in possession of great colors, suffers import time slowdown. _colorize module is slow to import due to its use of dataclasses python -Ximporttime -c "import _colorize" Visualization ...

Open Graph Description: “It is a truth universally acknowledged, that a module in possession of great colors, suffers import time slowdown. _colorize module is slow to import due to its use of dataclasses python -Ximportt...

X Description: “It is a truth universally acknowledged, that a module in possession of great colors, suffers import time slowdown. _colorize module is slow to import due to its use of dataclasses python -Ximportt...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`_colorize` module is slow to import, affecting `traceback` and `logging` modules","articleBody":"> “It is a truth universally acknowledged, that a module in possession of great colors, suffers import time slowdown.\n\n`_colorize` module is slow to import due to its use of dataclasses \n\n```console\npython -Ximporttime -c \"import _colorize\"\n```\n\nVisualization in tuna\n\n\u003cimg width=\"1831\" height=\"1017\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f2f0dfbf-0270-4aae-8dfa-43e00ca378dc\" />\n\nNotice that significant time is also spent *executing* the `_colorize`, due to the creation of its dataclasses\n\n```console\n❯ uvx python@3.15 -m cProfile -m _colorize | head -15\n         5609 function calls (5489 primitive calls) in 0.006 seconds\n\n   Ordered by: cumulative time\n\n   ncalls  tottime  percall  cumtime  percall filename:lineno(function)\n      9/1    0.003    0.000    0.006    0.006 {built-in method builtins.exec}\n        1    0.000    0.000    0.006    0.006 \u003cstring>:1(\u003cmodule>)\n        1    0.000    0.000    0.006    0.006 \u003cfrozen runpy>:199(run_module)\n        1    0.000    0.000    0.006    0.006 \u003cfrozen runpy>:65(_run_code)\n        1    0.000    0.000    0.006    0.006 _colorize.py:1(\u003cmodule>)\n        7    0.000    0.000    0.005    0.001 dataclasses.py:1432(wrap)\n        7    0.000    0.000    0.005    0.001 dataclasses.py:986(_process_class)\n        7    0.000    0.000    0.003    0.000 dataclasses.py:478(add_fns_to_class)\n        4    0.000    0.000    0.001    0.000 inspect.py:3342(signature)\n        4    0.000    0.000    0.001    0.000 inspect.py:3055(from_callable)\n```\n\nThe slow import time directly affects (among others) the `traceback` module which in turn affects `logging`, which is 40% slower in 3.14 and 3.15 compared to 3.13. That is quite unfortunate since in applications that care about import time, `logging` module is typically hard to avoid (I originally discovered this when looking at pip's startup time)\n\n```console\n hyperfine -w 10 \"python3.13 -c 'import logging'\"  \"python3.15 -c 'import logging'\" \nBenchmark 1: python3.13 -c 'import logging'\n  Time (mean ± σ):      21.0 ms ±   3.4 ms    [User: 14.8 ms, System: 5.9 ms]\n  Range (min … max):    16.2 ms …  28.2 ms    155 runs\n \nBenchmark 2: python3.15 -c 'import logging'\n  Time (mean ± σ):      29.6 ms ±   2.1 ms    [User: 22.2 ms, System: 7.0 ms]\n  Range (min … max):    26.4 ms …  35.1 ms    100 runs\n \nSummary\n  python3.13 -c 'import logging' ran\n    1.40 ± 0.25 times faster than /home/hollas/.local/share/uv/python/cpython-3.15.0a5-linux-x86_64-gnu/bin/python3.15 -c 'import logging'\n\n```\n\nIt's not very clear how to make this better (besides not using dataclasses). We tried to make traceback lazy in logging, but failed. #112995\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-144879\n* gh-149318\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/danielhollas","@type":"Person","name":"danielhollas"},"datePublished":"2026-02-02T00:18:02Z","url":"https://github.com/python/cpython/issues/144384"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:78a5389b-77c9-e3fd-f37d-242a1c5a4f6b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD10:3CBB3E:2DEB7B8:3AA3DD1:6B02013A
html-safe-noncecec68c084b71de651c1796899806503a60ff0b5ac4219617cabeb311922c83d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDEwOjNDQkIzRToyREVCN0I4OjNBQTNERDE6NkIwMjAxM0EiLCJ2aXNpdG9yX2lkIjoiODgzMTkyMzIxNzQzOTUyMzEzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac45831836b57376fd302bf4e5a5325c8fea971712f7f324b14f34f5e2323fece1
hovercard-subject-tagissue:3883386667
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/144384/issue_layout
twitter:imagehttps://opengraph.githubassets.com/19d5536b2ca43a9e1864d1580c1def6d750c517c147924afef64f7f762413850/python/cpython/issues/144384
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19d5536b2ca43a9e1864d1580c1def6d750c517c147924afef64f7f762413850/python/cpython/issues/144384
og:image:alt“It is a truth universally acknowledged, that a module in possession of great colors, suffers import time slowdown. _colorize module is slow to import due to its use of dataclasses python -Ximportt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanielhollas
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/144384#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F144384
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F144384
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/144384
Reloadhttps://github.com/python/cpython/issues/144384
Reloadhttps://github.com/python/cpython/issues/144384
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/144384
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/144384
_colorize module is slow to import, affecting traceback and logging moduleshttps://github.com/python/cpython/issues/144384#top
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issue-3883386667
https://private-user-images.githubusercontent.com/9539441/543458729-f2f0dfbf-0270-4aae-8dfa-43e00ca378dc.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTM3OTksIm5iZiI6MTc5NTI5MzQ5OSwicGF0aCI6Ii85NTM5NDQxLzU0MzQ1ODcyOS1mMmYwZGZiZi0wMjcwLTRhYWUtOGRmYS00M2UwMGNhMzc4ZGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAzODE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTY4YzNjZjkwNGVhNmRjYWQ4ZTIxZmFhMDczNmYwOTE1ZWVjNDdmMTk4MjZiYzFjOGFlZDQwODA2OWQzZDBiYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.09mY2GDEJEG-s1N-et0NeOer9tjULrUKtqwbkcUEM10
#112995https://github.com/python/cpython/pull/112995
gh-144384: Improve _colorize performance by replacing dataclass with regular class #144879https://github.com/python/cpython/pull/144879
gh-144384: Lazily import _colorize #149318https://github.com/python/cpython/pull/149318
Nexthttps://github.com/python/cpython/issues/144384?timeline_page=1
picnixzhttps://github.com/picnixz
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
on Feb 2, 2026https://github.com/python/cpython/issues/144384#event-22456289645
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3833439636
@hugovkhttps://github.com/hugovk
StanFromIrelandhttps://github.com/StanFromIreland
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Feb 2, 2026https://github.com/python/cpython/issues/144384#event-22463330624
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3834803227
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3834810289
picnixzhttps://github.com/picnixz
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Feb 2, 2026https://github.com/python/cpython/issues/144384#event-22463959948
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3834818751
@StanFromIrelandhttps://github.com/StanFromIreland
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3834824790
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3834849386
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3835706761
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Feb 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-3835773820
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Feb 16, 2026https://github.com/python/cpython/issues/144384#issuecomment-3909392534
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Feb 16, 2026https://github.com/python/cpython/issues/144384#issuecomment-3909425577
#144387https://github.com/python/cpython/pull/144387
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
on Feb 17, 2026https://github.com/python/cpython/issues/144384#issuecomment-3913540106
#144387https://github.com/python/cpython/pull/144387
1https://github.com/python/cpython/issues/144384#user-content-fn-1-9bd8b12bb993c87832910bc24065af62
↩https://github.com/python/cpython/issues/144384#user-content-fnref-1-9bd8b12bb993c87832910bc24065af62
https://github.com/FFY00
FFY00https://github.com/FFY00
on Apr 1, 2026https://github.com/python/cpython/issues/144384#issuecomment-4173545099
@ambvhttps://github.com/ambv
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Apr 2, 2026https://github.com/python/cpython/issues/144384#issuecomment-4178320959
https://private-user-images.githubusercontent.com/1324225/573102816-aa427e00-ae19-4f26-9165-b61cbdab9d54.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTM3OTksIm5iZiI6MTc5NTI5MzQ5OSwicGF0aCI6Ii8xMzI0MjI1LzU3MzEwMjgxNi1hYTQyN2UwMC1hZTE5LTRmMjYtOTE2NS1iNjFjYmRhYjlkNTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAzODE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDEzN2ZjOWE2YWUwOWNmMzc1Mjc1NzU1NDExMjljY2Y3ODQ0MjU5YzI1ZDlkYWRmZjc1MDFlMjM4ZmVmNzJlYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.lmb2KQU5z65LOnyK9ZadKlIxQrDwavPo4wV2h6jXh70
https://private-user-images.githubusercontent.com/1324225/573102959-50a27f8c-6867-430d-b74b-559b7fb90753.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTM3OTksIm5iZiI6MTc5NTI5MzQ5OSwicGF0aCI6Ii8xMzI0MjI1LzU3MzEwMjk1OS01MGEyN2Y4Yy02ODY3LTQzMGQtYjc0Yi01NTliN2ZiOTA3NTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjAzODE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTk3YTg2NDgzYjIzMjkxZmQyNjM0Zjc0ZDMwZDk1OTZkNGNiNGQyM2NhZDFkYzUzZGNkNTUwNjMxYzYwZjAyYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0._NJi_9czfxnzzpTkn5rkhEYzvfDh3AaOOLui0E5r9OY
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
on Apr 10, 2026https://github.com/python/cpython/issues/144384#issuecomment-4225466583
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
on Apr 10, 2026https://github.com/python/cpython/issues/144384#issuecomment-4225496558
@DavidCEllishttps://github.com/DavidCEllis
#144387https://github.com/python/cpython/pull/144387
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
on Apr 10, 2026https://github.com/python/cpython/issues/144384#issuecomment-4225668944
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Apr 11, 2026https://github.com/python/cpython/issues/144384#issuecomment-4229318685
@DavidCEllishttps://github.com/DavidCEllis
#144387https://github.com/python/cpython/pull/144387
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
on Apr 11, 2026https://github.com/python/cpython/issues/144384#issuecomment-4229383211
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Apr 11, 2026https://github.com/python/cpython/issues/144384#issuecomment-4229423681
#144384 (comment)https://github.com/python/cpython/issues/144384#issuecomment-4178320959
#144387 (comment)https://github.com/python/cpython/pull/144387#issuecomment-4229421511
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
on Apr 11, 2026https://github.com/python/cpython/issues/144384#issuecomment-4229440493
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
on Apr 13, 2026https://github.com/python/cpython/issues/144384#issuecomment-4237382451
@hugovkhttps://github.com/hugovk
gh-137855: Lazy import inspect module in dataclasses #144387https://github.com/python/cpython/pull/144387
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on May 6, 2026https://github.com/python/cpython/issues/144384#issuecomment-4387947034
#149318https://github.com/python/cpython/pull/149318
hugovkhttps://github.com/hugovk
on May 6, 2026https://github.com/python/cpython/issues/144384#event-25226768818
gh-144384: Lazily import `_colorize` (#149318)https://github.com/python/cpython/commit/7cea70e14dac091cbd7e0601b96a59458f8c9bee
gh-144384https://github.com/python/cpython/issues/144384
#149318https://github.com/python/cpython/pull/149318
7cea70ehttps://github.com/python/cpython/commit/7cea70e14dac091cbd7e0601b96a59458f8c9bee
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/144384
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/144384
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.