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 christian.heimes
Recipients berker.peksag, bethard, christian.heimes, paul.j3, rhettinger, serhiy.storchaka, vstinner, wolma, yan12125
Date 2017-04-26.10:14:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Instead of messing with all modules, we should rather try to improve startup time with lazy imports first. Mercurial added an on-demand importer to speed up CLI performance. Many years ago I worked on PEP 369 for lazy import. It should be much easier to implement with Brett's import system. We'd to come up with a syntax, maybe something like:

with lazy import gettext
with lazy from foo import bar

Or we could re-use async keyword:

async import gettext
async from foo import bar
Date User Action Args
2017-04-26 10:14:26christian.heimessetrecipients: + christian.heimes, rhettinger, bethard, vstinner, berker.peksag, paul.j3, serhiy.storchaka, wolma, yan12125
2017-04-26 10:14:26christian.heimessetmessageid: <>
2017-04-26 10:14:26christian.heimeslinkissue30152 messages
2017-04-26 10:14:26christian.heimescreate