From: Victor Stinner Date: Wed, 17 Jun 2020 21:58:58 +0000 (+0200) Subject: bpo-41006: Document the runpy optimization (GH-20953) X-Git-Tag: v3.10.0a1~593 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c18fc8f1def7030e5ec5d1ffb9355d7453dc408;p=thirdparty%2FPython%2Fcpython.git bpo-41006: Document the runpy optimization (GH-20953) --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 9878f7f81ced..1f4840fc0fb8 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 ==========