From 4c18fc8f1def7030e5ec5d1ffb9355d7453dc408 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 17 Jun 2020 23:58:58 +0200 Subject: bpo-41006: Document the runpy optimization (GH-20953) --- Doc/whatsnew/3.10.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 9878f7f..1f4840f 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 ========== -- cgit v0.12