]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-137855: Improve import time of dataclasses by lazy importing `re` and `copy`...
authorDaniel Hollas <daniel.hollas@bristol.ac.uk>
Sat, 11 Apr 2026 21:05:24 +0000 (22:05 +0100)
committerGitHub <noreply@github.com>
Sat, 11 Apr 2026 21:05:24 +0000 (21:05 +0000)
commitdd2735d177d3d1d1287354443d80cd981012445b
tree1c26d2a13bf77e4536955929e0410323d4e20aa7
parentba1e1c192b1ec661d67db66d10c6f059440d352d
gh-137855: Improve import time of dataclasses by lazy importing  `re` and `copy` modules (#148379)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Lib/dataclasses.py
Misc/NEWS.d/next/Library/2026-04-11-12-32-38.gh-issue-137855.tsVny_.rst [new file with mode: 0644]