Message200503
> > Also, have you read what I've just posted?
>
> About the fuzziness of when startup is finished? As implied above,
> I'd say at the end of Py_Initialize().
You only have imported a handful of modules by then. Real-world
applications will import many more afterwards.
Here's a little experiment (done with a system install of Python 2.7):
$ python -v -c pass 2>&1 | grep "^import" | wc -l
33
$ python -v `which hg` 2>&1 | grep "^import" | wc -l
117
Note that Mercurial has a lazy importer in order to improve startup
time, otherwise the number would be higher yet. |
|
Date |
User |
Action |
Args |
2013-10-19 21:45:34 | pitrou | set | recipients:
+ pitrou, barry, brett.cannon, vstinner, christian.heimes, Arfrever, r.david.murray, eric.snow |
2013-10-19 21:45:34 | pitrou | link | issue19216 messages |
2013-10-19 21:45:34 | pitrou | create | |
|