Message200502
> I don't really understand the algorithm you're proposing.
In importlib._bootstrap:
We have some global like "_CHECK_STAT=True". FileFinder would use it to decide on using stat checks or not.
In Python/pythonrun.c:
At the end of import_init(), we set importlib._bootstrap _CHECK_STAT to False. Then at the end of _Py_InitializeEx_Private() we set it back to True.
(As an alternative, we could always not do stat checking for just the standard library)
> 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(). |
|
Date |
User |
Action |
Args |
2013-10-19 21:37:26 | eric.snow | set | recipients:
+ eric.snow, barry, brett.cannon, pitrou, vstinner, christian.heimes, Arfrever, r.david.murray |
2013-10-19 21:37:26 | eric.snow | set | messageid: <1382218646.09.0.534911981579.issue19216@psf.upfronthosting.co.za> |
2013-10-19 21:37:26 | eric.snow | link | issue19216 messages |
2013-10-19 21:37:26 | eric.snow | create | |
|