| 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 | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:22b6375b-ee26-4a8c-e22c-dc8d75493417 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94CC:29AEE8:3810522:4AA1078:6B02137E |
| html-safe-nonce | 346847a702c6120aa5bff7bca526dcd05d2aac1326667122822b9c03ec5b0a5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NENDOjI5QUVFODozODEwNTIyOjRBQTEwNzg6NkIwMjEzN0UiLCJ2aXNpdG9yX2lkIjoiNzA0NzA3NzE3MDIwNzkyMTAyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 60a3fa46b6cd3d3aef72beba438fa82d0d428821ec459bcf1192df9d823f8b30 |
| hovercard-subject-tag | pull_request:3234947531 |
| 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 | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/144387/commits |
| twitter:image | https://opengraph.githubassets.com/7cb89c3cee758eb687346f5fc5729c389b15c6c227612339e44618c857d2074a/python/cpython/pull/144387 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7cb89c3cee758eb687346f5fc5729c389b15c6c227612339e44618c857d2074a/python/cpython/pull/144387 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danielhollas |
| 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/144387/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144387%2Fcommits |
| 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%2F144387%2Fcommits |
| 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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/144387/commits |
| Reload | https://github.com/python/cpython/pull/144387/commits |
| Reload | https://github.com/python/cpython/pull/144387/commits |
| 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 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| danielhollas:dataclass-lazy-inspect | https://github.com/danielhollas/cpython/tree/dataclass-lazy-inspect |
| Conversation | https://github.com/python/cpython/pull/144387 |
| Commits20 (20) | https://github.com/python/cpython/pull/144387/commits |
| Checks | https://github.com/python/cpython/pull/144387/checks |
| Files changed | https://github.com/python/cpython/pull/144387/files |
| gh-137855: Lazy import inspect module in dataclasses | https://github.com/python/cpython/pull/144387/commits#top |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| danielhollas:dataclass-lazy-inspect | https://github.com/danielhollas/cpython/tree/dataclass-lazy-inspect |
| Lazy import `inspect` in dataclasses module | https://github.com/python/cpython/pull/144387/commits/4210688d516aff9286f3fa8735e968be26075377 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 4210688 | https://github.com/python/cpython/pull/144387/commits/4210688d516aff9286f3fa8735e968be26075377 |
| https://github.com/python/cpython/tree/4210688d516aff9286f3fa8735e968be26075377 |
| Simplify vendored unwrap function | https://github.com/python/cpython/pull/144387/commits/b1578d5bcb8ecaa02de3e4eb659e48f6093a611a |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| b1578d5 | https://github.com/python/cpython/pull/144387/commits/b1578d5bcb8ecaa02de3e4eb659e48f6093a611a |
| https://github.com/python/cpython/tree/b1578d5bcb8ecaa02de3e4eb659e48f6093a611a |
| Unvendor unwrap, call it only when needed | https://github.com/python/cpython/pull/144387/commits/43e263378b550b79897dcc2c0ee5b39aeb85ce72 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 43e2633 | https://github.com/python/cpython/pull/144387/commits/43e263378b550b79897dcc2c0ee5b39aeb85ce72 |
| https://github.com/python/cpython/tree/43e263378b550b79897dcc2c0ee5b39aeb85ce72 |
| Use PEP810! | https://github.com/python/cpython/pull/144387/commits/6bc61998db92425f3a7a4e1b14bccabbecbf46df |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 6bc6199 | https://github.com/python/cpython/pull/144387/commits/6bc61998db92425f3a7a4e1b14bccabbecbf46df |
| https://github.com/python/cpython/tree/6bc61998db92425f3a7a4e1b14bccabbecbf46df |
| Merge branch 'main' into dataclass-lazy-inspect | https://github.com/python/cpython/pull/144387/commits/3901a4c60de59f9aef98dd689f95b14a000178f5 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 3901a4c | https://github.com/python/cpython/pull/144387/commits/3901a4c60de59f9aef98dd689f95b14a000178f5 |
| https://github.com/python/cpython/tree/3901a4c60de59f9aef98dd689f95b14a000178f5 |
| Add blurb | https://github.com/python/cpython/pull/144387/commits/9910cfd935f4c1aaf23cced3a136a2085c5ea3ff |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 9910cfd | https://github.com/python/cpython/pull/144387/commits/9910cfd935f4c1aaf23cced3a136a2085c5ea3ff |
| https://github.com/python/cpython/tree/9910cfd935f4c1aaf23cced3a136a2085c5ea3ff |
| Add regression test | https://github.com/python/cpython/pull/144387/commits/0d5efb7c75baf4080b5667aa3a551af304cf3ca8 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 0d5efb7 | https://github.com/python/cpython/pull/144387/commits/0d5efb7c75baf4080b5667aa3a551af304cf3ca8 |
| https://github.com/python/cpython/tree/0d5efb7c75baf4080b5667aa3a551af304cf3ca8 |
| Remove unrelated change | https://github.com/python/cpython/pull/144387/commits/ff59bd3ef63a78cfdc26390c3d6a25d55dccce86 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| ff59bd3 | https://github.com/python/cpython/pull/144387/commits/ff59bd3ef63a78cfdc26390c3d6a25d55dccce86 |
| https://github.com/python/cpython/tree/ff59bd3ef63a78cfdc26390c3d6a25d55dccce86 |
| move lazy import | https://github.com/python/cpython/pull/144387/commits/6f0db7602bb49b991a633b49a712cd109de15ad2 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 6f0db76 | https://github.com/python/cpython/pull/144387/commits/6f0db7602bb49b991a633b49a712cd109de15ad2 |
| https://github.com/python/cpython/tree/6f0db7602bb49b991a633b49a712cd109de15ad2 |
| Lazy import copy module | https://github.com/python/cpython/pull/144387/commits/7c9f75b884aeb3c48a6be7455823b1c8154a2383 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 7c9f75b | https://github.com/python/cpython/pull/144387/commits/7c9f75b884aeb3c48a6be7455823b1c8154a2383 |
| https://github.com/python/cpython/tree/7c9f75b884aeb3c48a6be7455823b1c8154a2383 |
| Use the same _AutoDocstring instance | https://github.com/python/cpython/pull/144387/commits/b577f3b8cb6286d5a04ee707122eaaa31978a1ea |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| b577f3b | https://github.com/python/cpython/pull/144387/commits/b577f3b8cb6286d5a04ee707122eaaa31978a1ea |
| https://github.com/python/cpython/tree/b577f3b8cb6286d5a04ee707122eaaa31978a1ea |
| Lazy import re module | https://github.com/python/cpython/pull/144387/commits/1703153fe6a7f85e1e674b7e26172aec8947c956 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 1703153 | https://github.com/python/cpython/pull/144387/commits/1703153fe6a7f85e1e674b7e26172aec8947c956 |
| https://github.com/python/cpython/tree/1703153fe6a7f85e1e674b7e26172aec8947c956 |
| Merge branch 'main' into dataclass-lazy-inspect | https://github.com/python/cpython/pull/144387/commits/b581777b7b8db3064a051c35a2b1e32d34bf1b16 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| b581777 | https://github.com/python/cpython/pull/144387/commits/b581777b7b8db3064a051c35a2b1e32d34bf1b16 |
| https://github.com/python/cpython/tree/b581777b7b8db3064a051c35a2b1e32d34bf1b16 |
| Merge branch 'main' into dataclass-lazy-inspect | https://github.com/python/cpython/pull/144387/commits/820e28cdd8cd992b5dcd857fccc577919528369c |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 820e28c | https://github.com/python/cpython/pull/144387/commits/820e28cdd8cd992b5dcd857fccc577919528369c |
| https://github.com/python/cpython/tree/820e28cdd8cd992b5dcd857fccc577919528369c |
| Add test for docstring of recursive dataclass | https://github.com/python/cpython/pull/144387/commits/f0a4146d21460b015485bcd8a3d45329d427b9e2 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| f0a4146 | https://github.com/python/cpython/pull/144387/commits/f0a4146d21460b015485bcd8a3d45329d427b9e2 |
| https://github.com/python/cpython/tree/f0a4146d21460b015485bcd8a3d45329d427b9e2 |
| Merge branch 'main' into dataclass-lazy-inspect | https://github.com/python/cpython/pull/144387/commits/80dca621b78ec6e4e697679ada72c5b3fa18a37b |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 80dca62 | https://github.com/python/cpython/pull/144387/commits/80dca621b78ec6e4e697679ada72c5b3fa18a37b |
| https://github.com/python/cpython/tree/80dca621b78ec6e4e697679ada72c5b3fa18a37b |
| Merge branch 'main' into dataclass-lazy-inspect | https://github.com/python/cpython/pull/144387/commits/152ae7969be500d3bc6b6590a7b2ad091db59a67 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 152ae79 | https://github.com/python/cpython/pull/144387/commits/152ae7969be500d3bc6b6590a7b2ad091db59a67 |
| https://github.com/python/cpython/tree/152ae7969be500d3bc6b6590a7b2ad091db59a67 |
| Update Lib/dataclasses.py | https://github.com/python/cpython/pull/144387/commits/65d92cc12c153e856a72895a7a74a45907e1cef0 |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| hugovk | https://github.com/python/cpython/commits?author=hugovk |
| 65d92cc | https://github.com/python/cpython/pull/144387/commits/65d92cc12c153e856a72895a7a74a45907e1cef0 |
| https://github.com/python/cpython/tree/65d92cc12c153e856a72895a7a74a45907e1cef0 |
| Merge branch 'main' into dataclass-lazy-inspect | https://github.com/python/cpython/pull/144387/commits/029999412262d8dfb409d4a498b540ee8600c744 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| 0299994 | https://github.com/python/cpython/pull/144387/commits/029999412262d8dfb409d4a498b540ee8600c744 |
| https://github.com/python/cpython/tree/029999412262d8dfb409d4a498b540ee8600c744 |
| Ensure inspect is not imported in test__colorize.py | https://github.com/python/cpython/pull/144387/commits/ea805a199afb4d9d4faad516edbe1069ae7ffa9f |
| https://github.com/danielhollas |
| danielhollas | https://github.com/python/cpython/commits?author=danielhollas |
| ea805a1 | https://github.com/python/cpython/pull/144387/commits/ea805a199afb4d9d4faad516edbe1069ae7ffa9f |
| https://github.com/python/cpython/tree/ea805a199afb4d9d4faad516edbe1069ae7ffa9f |
|
| 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 |