quora / pyanalyze

A Python type checker
Apache License 2.0
333 stars 36 forks source link

Improve performance of constructing typeshed_client #789

Closed JelleZijlstra closed 2 months ago

JelleZijlstra commented 2 months ago

If no search_path is passed, typeshed-client uses a subprocess to find sys.path (because it supports getting paths for another Python interpreter). Here we don't need that; just pass sys.path directly.