[Python-checkins] bpo-41006: Document the runpy optimization (GH-20953)

Victor Stinner webhook-mailer at python.org
Wed Jun 17 17:59:06 EDT 2020


https://github.com/python/cpython/commit/4c18fc8f1def7030e5ec5d1ffb9355d7453dc408
commit: 4c18fc8f1def7030e5ec5d1ffb9355d7453dc408
branch: master
author: Victor Stinner <vstinner at python.org>
committer: GitHub <noreply at github.com>
date: 2020-06-17T23:58:58+02:00
summary:

bpo-41006: Document the runpy optimization (GH-20953)

files:
M Doc/whatsnew/3.10.rst

diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 9878f7f81ceda..1f4840fc0fb8e 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -103,6 +103,11 @@ Improved Modules
 Optimizations
 =============
 
+* The :mod:`runpy` module now imports less modules.
+  The ``python3 -m module-name`` command startup time is 1.3x faster in
+  average.
+  (Contributed by Victor Stinner in :issue:`41006`.)
+
 
 Deprecated
 ==========



More information about the Python-checkins mailing list