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 xiang.zhang
Recipients methane, ncoghlan, rhettinger, xiang.zhang
Date 2016-11-08.06:41:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478587262.76.0.995527983513.issue28638@psf.upfronthosting.co.za>
In-reply-to
Content
> Yes. But first import time is also important for CLI applications.
That's why mercurial and Bazaar has lazy import system.

The lazy import system could benefit many libs so the result could be impressive. But here only functools is enhanced, half a millisecond is reduced.

Performance of course is important, but replicating code sounds not good. It means you have to maintain two pieces.
History
Date User Action Args
2016-11-08 06:41:02xiang.zhangsetrecipients: + xiang.zhang, rhettinger, ncoghlan, methane
2016-11-08 06:41:02xiang.zhangsetmessageid: <1478587262.76.0.995527983513.issue28638@psf.upfronthosting.co.za>
2016-11-08 06:41:02xiang.zhanglinkissue28638 messages
2016-11-08 06:41:02xiang.zhangcreate