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 vstinner
Recipients amaury.forgeotdarc, benjamin.peterson, vstinner
Date 2009-03-20.01:17:20
SpamBayes Score 8.970505e-09
Marked as misclassified No
Message-id <1237511846.01.0.701131568976.issue4016@psf.upfronthosting.co.za>
In-reply-to
Content
@benjamin.peterson: The second version of my patch works correctly 
with the bootstraping.

> I also think we should consider hard adding more modules 
> that are loaded at startup time to py3k already huge list.

linecache is not loaded at startup time in py3k! I see that linecache 
is loaded by the warnings module, but the warnings module 
(Lib/warnings.py) is not loaded at startup. It was maybe the case with 
Python 2.x or older version of Python 3.x?

With my patch, loading linecache loads 2 extra modules: tokenize and 
token. It only impacts code using directly linecache or the warnings 
module.
History
Date User Action Args
2009-03-20 01:17:26vstinnersetrecipients: + vstinner, amaury.forgeotdarc, benjamin.peterson
2009-03-20 01:17:26vstinnersetmessageid: <1237511846.01.0.701131568976.issue4016@psf.upfronthosting.co.za>
2009-03-20 01:17:22vstinnerlinkissue4016 messages
2009-03-20 01:17:20vstinnercreate