]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-137855: Lazy import `inspect` module in dataclasses (#144387)
authorDaniel Hollas <daniel.hollas@bristol.ac.uk>
Sun, 26 Apr 2026 05:57:38 +0000 (06:57 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Apr 2026 05:57:38 +0000 (22:57 -0700)
commit0a39730ecd45430e14cfeb244980b6eaa3571695
tree60003f371bea1ee6b35b54460b4b13db859dc076
parente1384cfd25b4fba5e0f8f3e6b536930e2e6cf5cf
gh-137855: Lazy import `inspect` module in dataclasses (#144387)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Lib/dataclasses.py
Lib/test/test__colorize.py
Lib/test/test_dataclasses/__init__.py
Misc/NEWS.d/next/Library/2026-02-12-18-05-16.gh-issue-137855.2_PTbg.rst [new file with mode: 0644]