René's URL Explorer Experiment


Title: gh-137855: Lazy import `inspect` module in dataclasses by danielhollas · Pull Request #144387 · python/cpython · GitHub

Open Graph Title: gh-137855: Lazy import `inspect` module in dataclasses by danielhollas · Pull Request #144387 · python/cpython

X Title: gh-137855: Lazy import `inspect` module in dataclasses by danielhollas · Pull Request #144387 · python/cpython

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

Open Graph Description: inspect module is slow to import (see #117865) and is dragging down dataclasses with it. There are currently only two uses of inspect in dataclasses, but they are a bit tricky to inline since they ...

X Description: inspect module is slow to import (see #117865) and is dragging down dataclasses with it. There are currently only two uses of inspect in dataclasses, but they are a bit tricky to inline since they ...

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

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:efef2586-dc0b-cac7-2c88-34895dfa3ce9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDB2:A71F9:31B3D9B:3EEEFD4:6B0204D2
html-safe-nonce314754f6f8d1114942513927d110c8ba5c2f59dd47baca899f118d0cd9a745d8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREIyOkE3MUY5OjMxQjNEOUI6M0VFRUZENDo2QjAyMDREMiIsInZpc2l0b3JfaWQiOiI4NTE1MDAzMTI5NzY1NDMwNDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac05f56f67773d861059b9bd9356c55825cb0f785688abaa9d2870220dabe8eaa3
hovercard-subject-tagpull_request:3234947531
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/144387/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7cb89c3cee758eb687346f5fc5729c389b15c6c227612339e44618c857d2074a/python/cpython/pull/144387
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7cb89c3cee758eb687346f5fc5729c389b15c6c227612339e44618c857d2074a/python/cpython/pull/144387
og:image:altinspect module is slow to import (see #117865) and is dragging down dataclasses with it. There are currently only two uses of inspect in dataclasses, but they are a bit tricky to inline since they ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanielhollas
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/144387#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144387
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%2F144387
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/144387
Reloadhttps://github.com/python/cpython/pull/144387
Reloadhttps://github.com/python/cpython/pull/144387
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
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
danielhollas:dataclass-lazy-inspecthttps://github.com/danielhollas/cpython/tree/dataclass-lazy-inspect
Conversationhttps://github.com/python/cpython/pull/144387
Commits20 (20)https://github.com/python/cpython/pull/144387/commits
Checkshttps://github.com/python/cpython/pull/144387/checks
Files changedhttps://github.com/python/cpython/pull/144387/files
gh-137855: Lazy import inspect module in dataclasseshttps://github.com/python/cpython/pull/144387#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
danielhollas:dataclass-lazy-inspecthttps://github.com/danielhollas/cpython/tree/dataclass-lazy-inspect
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 2, 2026https://github.com/python/cpython/pull/144387#issue-3884068058
Please reload this pagehttps://github.com/python/cpython/pull/144387
#117865https://github.com/python/cpython/issues/117865
gh-90562: Support zero argument super with dataclasses when slots=True #124455https://github.com/python/cpython/pull/124455
https://private-user-images.githubusercontent.com/9539441/580374415-9fc05414-0817-48f0-b2f0-bbbc0fc7fac0.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii85NTM5NDQxLzU4MDM3NDQxNS05ZmMwNTQxNC0wODE3LTQ4ZjAtYjJmMC1iYmJjMGZjN2ZhYzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDcyNDQ1NDFmZTI3OWYyMjA4ZGMwMDg1YzlmY2NhZGMwMjlkODI5NjVhNmM0YjVmNmMwOThhOTQ3OTgyMzc1YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.e0ZpLulO3xOFn6vpGBTXgl-VJFh4wXoe4pnCLP5kPPM
https://private-user-images.githubusercontent.com/9539441/580374377-2494b67e-6e71-4a60-ba6d-7d638fddda8f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii85NTM5NDQxLzU4MDM3NDM3Ny0yNDk0YjY3ZS02ZTcxLTRhNjAtYmE2ZC03ZDYzOGZkZGRhOGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDNjZjY1MTBiNThkZGI4NDU3MWY4NjBjN2E1ZDA2MWIwZGYwNGVmZGYwNWMzZDAwODNiYTQ5ZTI5NWMzYzRkYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.8I6rMuxrZCeRH2N0aaISDErYCcDsxXx50r0rr8XG2sM
Improve import time of various stdlib modules #137855https://github.com/python/cpython/issues/137855
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
ericvsmithhttps://github.com/ericvsmith
code ownerhttps://github.com/python/cpython/blob/3a0e1835563e6acfa3059a7d9777260cb2b6717d/.github/CODEOWNERS#L416
February 2, 2026 05:28https://github.com/python/cpython/pull/144387#event-22454561818
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 2, 2026https://github.com/python/cpython/pull/144387#event-22454563001
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 2, 2026 https://github.com/python/cpython/pull/144387#ref-issue-3327278419
Improve import time of various stdlib modules #137855 https://github.com/python/cpython/issues/137855
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 2, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-3737378261
View reviewed changes https://github.com/python/cpython/pull/144387/files
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/144387/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
danielhollashttps://github.com/danielhollas
Feb 2, 2026https://github.com/python/cpython/pull/144387#discussion_r2752620978
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 2, 2026https://github.com/python/cpython/pull/144387#issuecomment-3833041467
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Feb 2, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-3738191658
View reviewed changes https://github.com/python/cpython/pull/144387/files
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/144387/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 2, 2026 https://github.com/python/cpython/pull/144387#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/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Feb 3, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-3742807146
View reviewed changes https://github.com/python/cpython/pull/144387/files
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/144387/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/144387
danielhollashttps://github.com/danielhollas
February 12, 2026 00:59https://github.com/python/cpython/pull/144387#commits-pushed-4210688
https://github.com/danielhollas
Lazy import inspect in dataclasses modulehttps://github.com/python/cpython/pull/144387/commits/4210688d516aff9286f3fa8735e968be26075377
4210688https://github.com/python/cpython/pull/144387/commits/4210688d516aff9286f3fa8735e968be26075377
https://github.com/danielhollas
Simplify vendored unwrap functionhttps://github.com/python/cpython/pull/144387/commits/b1578d5bcb8ecaa02de3e4eb659e48f6093a611a
b1578d5https://github.com/python/cpython/pull/144387/commits/b1578d5bcb8ecaa02de3e4eb659e48f6093a611a
https://github.com/danielhollas
Unvendor unwrap, call it only when neededhttps://github.com/python/cpython/pull/144387/commits/43e263378b550b79897dcc2c0ee5b39aeb85ce72
43e2633https://github.com/python/cpython/pull/144387/commits/43e263378b550b79897dcc2c0ee5b39aeb85ce72
https://github.com/danielhollas
Use PEP810!https://github.com/python/cpython/pull/144387/commits/6bc61998db92425f3a7a4e1b14bccabbecbf46df
6bc6199https://github.com/python/cpython/pull/144387/commits/6bc61998db92425f3a7a4e1b14bccabbecbf46df
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
force-pushedhttps://github.com/python/cpython/compare/ca36c68b7aeca6e637e8f41d62f9c769a8891a3a..6bc61998db92425f3a7a4e1b14bccabbecbf46df
ca36c68https://github.com/python/cpython/commit/ca36c68b7aeca6e637e8f41d62f9c769a8891a3a
6bc6199https://github.com/python/cpython/commit/6bc61998db92425f3a7a4e1b14bccabbecbf46df
Compare https://github.com/python/cpython/compare/ca36c68b7aeca6e637e8f41d62f9c769a8891a3a..6bc61998db92425f3a7a4e1b14bccabbecbf46df
February 12, 2026 01:19https://github.com/python/cpython/pull/144387#event-22720895929
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 12, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-3788298619
View reviewed changes https://github.com/python/cpython/pull/144387/files/6bc61998db92425f3a7a4e1b14bccabbecbf46df
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/144387/files/6bc61998db92425f3a7a4e1b14bccabbecbf46df#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Feb 12, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-3788882613
View reviewed changes https://github.com/python/cpython/pull/144387/files/6bc61998db92425f3a7a4e1b14bccabbecbf46df
Lib/inspect.pyhttps://github.com/python/cpython/pull/144387/files/6bc61998db92425f3a7a4e1b14bccabbecbf46df#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Feb 12, 2026https://github.com/python/cpython/pull/144387#issuecomment-3888859400
Please reload this pagehttps://github.com/python/cpython/pull/144387
Please reload this pagehttps://github.com/python/cpython/pull/144387
danielhollashttps://github.com/danielhollas
February 12, 2026 18:03https://github.com/python/cpython/pull/144387#commits-pushed-3901a4c
https://github.com/danielhollas
Merge branch 'main' into dataclass-lazy-inspecthttps://github.com/python/cpython/pull/144387/commits/3901a4c60de59f9aef98dd689f95b14a000178f5
3901a4chttps://github.com/python/cpython/pull/144387/commits/3901a4c60de59f9aef98dd689f95b14a000178f5
https://github.com/danielhollas
Add blurbhttps://github.com/python/cpython/pull/144387/commits/9910cfd935f4c1aaf23cced3a136a2085c5ea3ff
9910cfdhttps://github.com/python/cpython/pull/144387/commits/9910cfd935f4c1aaf23cced3a136a2085c5ea3ff
https://github.com/danielhollas
Add regression testhttps://github.com/python/cpython/pull/144387/commits/0d5efb7c75baf4080b5667aa3a551af304cf3ca8
0d5efb7https://github.com/python/cpython/pull/144387/commits/0d5efb7c75baf4080b5667aa3a551af304cf3ca8
https://github.com/danielhollas
Remove unrelated changehttps://github.com/python/cpython/pull/144387/commits/ff59bd3ef63a78cfdc26390c3d6a25d55dccce86
ff59bd3https://github.com/python/cpython/pull/144387/commits/ff59bd3ef63a78cfdc26390c3d6a25d55dccce86
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 13, 2026 https://github.com/python/cpython/pull/144387#ref-pullrequest-3934366565
gh-144764: Made dataclasses construct automatic docstrings lazily #144765 https://github.com/python/cpython/pull/144765
https://github.com/danielhollas
move lazy importhttps://github.com/python/cpython/pull/144387/commits/6f0db7602bb49b991a633b49a712cd109de15ad2
6f0db76https://github.com/python/cpython/pull/144387/commits/6f0db7602bb49b991a633b49a712cd109de15ad2
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
Feb 16, 2026https://github.com/python/cpython/pull/144387#issuecomment-3910228410
1https://github.com/python/cpython/pull/144387#user-content-fn-1-42f967f70f98f1923633563c77f89520
↩https://github.com/python/cpython/pull/144387#user-content-fnref-1-42f967f70f98f1923633563c77f89520
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Feb 16, 2026https://github.com/python/cpython/pull/144387#issuecomment-3910419342
Please reload this pagehttps://github.com/python/cpython/pull/144387
danielhollashttps://github.com/danielhollas
February 16, 2026 21:36https://github.com/python/cpython/pull/144387#commits-pushed-7c9f75b
https://github.com/danielhollas
Lazy import copy modulehttps://github.com/python/cpython/pull/144387/commits/7c9f75b884aeb3c48a6be7455823b1c8154a2383
7c9f75bhttps://github.com/python/cpython/pull/144387/commits/7c9f75b884aeb3c48a6be7455823b1c8154a2383
https://github.com/danielhollas
Use the same _AutoDocstring instancehttps://github.com/python/cpython/pull/144387/commits/b577f3b8cb6286d5a04ee707122eaaa31978a1ea
b577f3bhttps://github.com/python/cpython/pull/144387/commits/b577f3b8cb6286d5a04ee707122eaaa31978a1ea
https://github.com/danielhollas
Lazy import re modulehttps://github.com/python/cpython/pull/144387/commits/1703153fe6a7f85e1e674b7e26172aec8947c956
1703153https://github.com/python/cpython/pull/144387/commits/1703153fe6a7f85e1e674b7e26172aec8947c956
https://github.com/danielhollas
Merge branch 'main' into dataclass-lazy-inspecthttps://github.com/python/cpython/pull/144387/commits/b581777b7b8db3064a051c35a2b1e32d34bf1b16
b581777https://github.com/python/cpython/pull/144387/commits/b581777b7b8db3064a051c35a2b1e32d34bf1b16
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Feb 16, 2026https://github.com/python/cpython/pull/144387#issuecomment-3910690830
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://private-user-images.githubusercontent.com/9539441/550650823-e8429ba3-fca8-4a04-addb-9f2d85ff920f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii85NTM5NDQxLzU1MDY1MDgyMy1lODQyOWJhMy1mY2E4LTRhMDQtYWRkYi05ZjJkODVmZjkyMGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGZkYmFmYTM3YzY0MzQ2ODQyYzQ3NzUzM2E2MWE4NjdmZmI5NDU4ZTU1YjA3ZjBkOWFlOGZhM2M4YTc3NTJmZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.a-ZIx1KSo12Va7L7yfRclr-L6khLSzT8ppqqurQ_HV8
https://private-user-images.githubusercontent.com/9539441/550656385-80f92d93-f848-4eb8-bb0e-2b9ffd7c85ef.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii85NTM5NDQxLzU1MDY1NjM4NS04MGY5MmQ5My1mODQ4LTRlYjgtYmIwZS0yYjlmZmQ3Yzg1ZWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWFjNzNiYzgxY2ExZDY5NzM5MWFkOTNhMjJjZmE2NTkxZTkzNGViZDdmOGEzNjg4NjJlNDgxMmI3MjU2Yjc4YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.NSnC8KyTpFKYRyNWjxdaBGoa6W9NBMCqRNrY0WfbCeE
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
StanFromIrelandhttps://github.com/StanFromIreland
February 16, 2026 22:05https://github.com/python/cpython/pull/144387#event-22836605611
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
sergey-miryanovhttps://github.com/sergey-miryanov
February 16, 2026 22:05https://github.com/python/cpython/pull/144387#event-22836606361
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Feb 16, 2026https://github.com/python/cpython/pull/144387#event-22836889081
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
Feb 16, 2026https://github.com/python/cpython/pull/144387#issuecomment-3910794213
Please reload this pagehttps://github.com/python/cpython/pull/144387
danielhollashttps://github.com/danielhollas
February 16, 2026 23:22https://github.com/python/cpython/pull/144387#commits-pushed-820e28c
https://github.com/danielhollas
Merge branch 'main' into dataclass-lazy-inspecthttps://github.com/python/cpython/pull/144387/commits/820e28cdd8cd992b5dcd857fccc577919528369c
820e28chttps://github.com/python/cpython/pull/144387/commits/820e28cdd8cd992b5dcd857fccc577919528369c
https://github.com/danielhollas
Add test for docstring of recursive dataclasshttps://github.com/python/cpython/pull/144387/commits/f0a4146d21460b015485bcd8a3d45329d427b9e2
f0a4146https://github.com/python/cpython/pull/144387/commits/f0a4146d21460b015485bcd8a3d45329d427b9e2
https://github.com/danielhollas
Merge branch 'main' into dataclass-lazy-inspecthttps://github.com/python/cpython/pull/144387/commits/80dca621b78ec6e4e697679ada72c5b3fa18a37b
80dca62https://github.com/python/cpython/pull/144387/commits/80dca621b78ec6e4e697679ada72c5b3fa18a37b
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Feb 17, 2026https://github.com/python/cpython/pull/144387#issuecomment-3914634861
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 2, 2026https://github.com/python/cpython/pull/144387#issuecomment-4178508535
@danielhollashttps://github.com/danielhollas
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
Apr 2, 2026https://github.com/python/cpython/pull/144387#issuecomment-4178630887
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 2, 2026https://github.com/python/cpython/pull/144387#issuecomment-4179326877
Please reload this pagehttps://github.com/python/cpython/pull/144387
@danielhollashttps://github.com/danielhollas
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 11, 2026 https://github.com/python/cpython/pull/144387#ref-pullrequest-4244498958
gh-137855: Improve import time of dataclasses by lazy importing re and copy modules #148379 https://github.com/python/cpython/pull/148379
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 11, 2026https://github.com/python/cpython/pull/144387#issuecomment-4229421511
https://private-user-images.githubusercontent.com/1324225/576953116-27c2387f-c201-42fa-862c-76149ab11649.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii8xMzI0MjI1LzU3Njk1MzExNi0yN2MyMzg3Zi1jMjAxLTQyZmEtODYyYy03NjE0OWFiMTE2NDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWQ5YWEwYTcyMTgyYmNiMmQ2NTQ0ZmZlNDdlOWM2NzBlYzY0M2U4OWExMDYzODY4N2U3YjhhNzQwNWE1YzE2MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.BwRdF8i5gE6jWciePM_NS-RUzXyZLqiPr9ca1NPb6v8
https://private-user-images.githubusercontent.com/1324225/576953154-ffad9aad-cd21-4dd3-b421-29ea55bef9f7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii8xMzI0MjI1LzU3Njk1MzE1NC1mZmFkOWFhZC1jZDIxLTRkZDMtYjQyMS0yOWVhNTViZWY5ZjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzI2NTZlZmE3MTZlMDhjZjY1NGQxN2Y3YzMyZTBkZWY3ZmJkYTg4YjkzMDY1MWFhOWU0YWM1N2U5NWM5YjUxOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.uNacIW_d0fQbf9MJ-oOpqHdUMNOYchfRmsE6L2vG4VE
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 11, 2026https://github.com/python/cpython/pull/144387#issuecomment-4229437786
#144756https://github.com/python/cpython/pull/144756
#148379https://github.com/python/cpython/pull/148379
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
Merge branch 'main' into dataclass-lazy-inspecthttps://github.com/python/cpython/pull/144387/commits/152ae7969be500d3bc6b6590a7b2ad091db59a67
152ae79https://github.com/python/cpython/pull/144387/commits/152ae7969be500d3bc6b6590a7b2ad091db59a67
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 11, 2026https://github.com/python/cpython/pull/144387#issuecomment-4230205377
#148379https://github.com/python/cpython/pull/148379
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 12, 2026 https://github.com/python/cpython/pull/144387#ref-pullrequest-4246038300
gh-154675: Improve import performance of tkinter library with lazy imports #148409 https://github.com/python/cpython/pull/148409
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 13, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-4099111351
View reviewed changes https://github.com/python/cpython/pull/144387/files/152ae7969be500d3bc6b6590a7b2ad091db59a67
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/144387/files/152ae7969be500d3bc6b6590a7b2ad091db59a67#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/144387
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 13, 2026https://github.com/python/cpython/pull/144387#event-24448250297
danielhollashttps://github.com/danielhollas
April 18, 2026 15:57https://github.com/python/cpython/pull/144387#commits-pushed-65d92cc
https://github.com/danielhollas
https://github.com/hugovk
Update Lib/dataclasses.pyhttps://github.com/python/cpython/pull/144387/commits/65d92cc12c153e856a72895a7a74a45907e1cef0
65d92cchttps://github.com/python/cpython/pull/144387/commits/65d92cc12c153e856a72895a7a74a45907e1cef0
https://github.com/danielhollas
Merge branch 'main' into dataclass-lazy-inspecthttps://github.com/python/cpython/pull/144387/commits/029999412262d8dfb409d4a498b540ee8600c744
0299994https://github.com/python/cpython/pull/144387/commits/029999412262d8dfb409d4a498b540ee8600c744
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 18, 2026https://github.com/python/cpython/pull/144387#issuecomment-4274457533
https://private-user-images.githubusercontent.com/9539441/580360507-0f4230f3-fd03-49ca-b7b2-62dcc5c0cfd7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii85NTM5NDQxLzU4MDM2MDUwNy0wZjQyMzBmMy1mZDAzLTQ5Y2EtYjdiMi02MmRjYzVjMGNmZDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTk1Yjk3YjVmNWY4YmFiZWUyMDUyMGQ2OWUyNjMxMTEyZWZkNzYwMWI4NzhjMWVhZmFlNTM2NzVjNTVkYzkyMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.HoerViDnhOqguaiVQbTgrPy_TCX2CFiHeTbMkXOVsiM
https://private-user-images.githubusercontent.com/9539441/580360726-ee971d06-7020-4d0c-9641-3f43004731be.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTQ3MTgsIm5iZiI6MTc5NTI5NDQxOCwicGF0aCI6Ii85NTM5NDQxLzU4MDM2MDcyNi1lZTk3MWQwNi03MDIwLTRkMGMtOTY0MS0zZjQzMDA0NzMxYmUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjA1MzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Njg4NmY3NTJlZTA1MmMzMTBmYjZkNWQ4NTcwNzk2ZDM0YzI4NjM5NWZlMzFmNTFmYjk1ODY4NTRhOTEzOTY5NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.lNGPI4iuj3yHa-RuJxNdZTntX39pEqN6i0Xb5HHlBHQ
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
Ensure inspect is not imported in test__colorize.pyhttps://github.com/python/cpython/pull/144387/commits/ea805a199afb4d9d4faad516edbe1069ae7ffa9f
ea805a1https://github.com/python/cpython/pull/144387/commits/ea805a199afb4d9d4faad516edbe1069ae7ffa9f
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
Apr 25, 2026https://github.com/python/cpython/pull/144387#issuecomment-4320762947
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 26, 2026 https://github.com/python/cpython/pull/144387#pullrequestreview-4176581029
View reviewed changes https://github.com/python/cpython/pull/144387/files/ea805a199afb4d9d4faad516edbe1069ae7ffa9f
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
0a39730https://github.com/python/cpython/commit/0a39730ecd45430e14cfeb244980b6eaa3571695
Apr 26, 2026https://github.com/python/cpython/pull/144387#event-24876039597
Please reload this pagehttps://github.com/python/cpython/pull/144387
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
Apr 26, 2026https://github.com/python/cpython/pull/144387#event-24876040010
https://github.com/danielhollas
danielhollashttps://github.com/danielhollas
April 26, 2026 09:21https://github.com/python/cpython/pull/144387#event-24877726375
https://github.com/DavidCEllis
DavidCEllishttps://github.com/DavidCEllis
May 7, 2026 https://github.com/python/cpython/pull/144387#ref-issue-3934355194
Make dataclasses construct automatic docstrings lazily #144764 https://github.com/python/cpython/issues/144764
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%2F144387
https://github.com/johnslavik
johnslavik https://github.com/johnslavik
https://github.com/python/cpython/pull/144387/files/6bc61998db92425f3a7a4e1b14bccabbecbf46df
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/144387/files/ea805a199afb4d9d4faad516edbe1069ae7ffa9f
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python/cpython/pull/144387/files/152ae7969be500d3bc6b6590a7b2ad091db59a67
https://github.com/ericvsmith
ericvsmith https://github.com/ericvsmith
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/sergey-miryanov
sergey-miryanov https://github.com/sergey-miryanov
Please reload this pagehttps://github.com/python/cpython/pull/144387
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Please reload this pagehttps://github.com/python/cpython/pull/144387
https://github.com/danielhollas
https://github.com/sergey-miryanov
https://github.com/DavidCEllis
https://github.com/johnslavik
https://github.com/hugovk
https://github.com/JelleZijlstra
https://github.com/StanFromIreland
https://github.com/gpshead
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.