diff options
author | Barry Warsaw <barry@python.org> | 2017-11-02 23:13:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 23:13:36 (GMT) |
commit | 700d2e4755921d6c339ff20dacecde1aea64de34 (patch) | |
tree | ce746ff976847c80a63b88a5d6795fa1dd8b7551 /Misc/NEWS.d/3.7.0a2.rst | |
parent | 9e3397333278f973a11d933c27a69af250e4acf0 (diff) | |
download | cpython-700d2e4755921d6c339ff20dacecde1aea64de34.zip cpython-700d2e4755921d6c339ff20dacecde1aea64de34.tar.gz cpython-700d2e4755921d6c339ff20dacecde1aea64de34.tar.bz2 |
bpo-31415: Support PYTHONPROFILEIMPORTTIME envvar equivalent to -X importtime (#4240)
Support PYTHONPROFILEIMPORTTIME envvar equivalent to -X importtime
Diffstat (limited to 'Misc/NEWS.d/3.7.0a2.rst')
-rw-r--r-- | Misc/NEWS.d/3.7.0a2.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS.d/3.7.0a2.rst b/Misc/NEWS.d/3.7.0a2.rst index 6df7715..7784bb7 100644 --- a/Misc/NEWS.d/3.7.0a2.rst +++ b/Misc/NEWS.d/3.7.0a2.rst @@ -166,7 +166,8 @@ special method lookups. Patch by Stefan Behnel. .. section: Core and Builtins Add ``-X importtime`` option to show how long each import takes. It can be -used to optimize application's startup time. +used to optimize application's startup time. Support the +:envvar:`PYTHONPROFILEIMPORTTIME` as an equivalent way to enable this. .. |