Message292331
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:26 | christian.heimes | set | recipients:
+ christian.heimes, rhettinger, bethard, vstinner, berker.peksag, paul.j3, serhiy.storchaka, wolma, yan12125 |
| 2017-04-26 10:14:26 | christian.heimes | set | messageid: <1493201666.15.0.799526418947.issue30152@psf.upfronthosting.co.za> |
| 2017-04-26 10:14:26 | christian.heimes | link | issue30152 messages |
| 2017-04-26 10:14:26 | christian.heimes | create | |
|