]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118761: Improve import time of the `pickle` module. (#128732)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 14 Jan 2025 11:26:26 +0000 (12:26 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2025 11:26:26 +0000 (12:26 +0100)
commitff3e145b2770ffe86c905b1092747ce3d8381319
tree761732d3fe2cc43937130ed9b00356b96d47d4fe
parent1153e66e20124b8f3484bcaddbc0e252d31161a6
gh-118761: Improve import time of the `pickle` module. (#128732)

Importing `pickle` is now roughly 25% faster.

Importing the `re` module is no longer needed and
thus `re` is no more implicitly exposed as `pickle.re`.

---------

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Lib/pickle.py
Misc/NEWS.d/next/Library/2025-01-10-13-34-33.gh-issue-118761.qRB8nS.rst [new file with mode: 0644]