This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients ethan.furman, gvanrossum, ned.deily, python-dev, serhiy.storchaka, terry.reedy, vinay.sajip, vstinner, wolma
Date 2016-11-08.15:11:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478617885.19.0.141688746734.issue28637@psf.upfronthosting.co.za>
In-reply-to
Content
The effect is limited to venv only in a narrow sense.  The startup time for running programs from an IDLE editor is also affected. Many other programs also import re either directly or indirectly on startup.  For instance, importing argparse imports re. Running Python from Command Prompt:

Python 3.6.0b3 (default, Nov  1 2016, 03:21:01) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys; 're' in sys.modules
False
>>> import argparse
>>> import sys; 're' in sys.modules
True
History
Date User Action Args
2016-11-08 15:11:25terry.reedysetrecipients: + terry.reedy, gvanrossum, vinay.sajip, vstinner, ned.deily, ethan.furman, python-dev, serhiy.storchaka, wolma
2016-11-08 15:11:25terry.reedysetmessageid: <1478617885.19.0.141688746734.issue28637@psf.upfronthosting.co.za>
2016-11-08 15:11:25terry.reedylinkissue28637 messages
2016-11-08 15:11:25terry.reedycreate