Open not-my-profile opened 2 years ago
Thanks for the report!
Lazy parsing is something that we want to implement, but it requires some nontrivial amount of work so it probably will not happen soon. The tentative plan we have now is to implement some short-term mitigations (e.g. supporting PEP 561 out-of-the-box so we could drop the third-party
typeshed bundled with Pyre) first. Fully addressing the issue would probably happen later this half or early next half.
Pyre Feature Request
It would be nice if pyre could parse the type stubs on demand instead of upfront to reduce the startup time.