[Python-Dev] Python startup time

Antoine Pitrou solipsis at pitrou.net
Wed Jul 19 16:35:16 EDT 2017


On Wed, 19 Jul 2017 15:26:47 -0400
Ben Hoyt <benhoyt at gmail.com> wrote:
> Yes, agreed that startup time matters for scripting. I was talking to
> someone on the Google Cloud SDK (CLI) team recently, and they said startup
> time is a big deal for them ... it's especially problematic for shell tab
> completion helpers, because every time you press tab the shell has to load
> your Python program to do the completion.

And also, for the same reason, for shell prompt additions such as
git-prompt.  Mercurial had to write a C client (chg) to make this
usable.

Regards

Antoine.




More information about the Python-Dev mailing list