You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support --package-root with native parser (#21321)
When `--package-root` is used, `fscache` creates some fake `__init__.py`
files on-the-fly (that don't actually exist). These obviously can't be
handed by the native parser, but `fscache.exists()` returns `True` for
them, causing a crash. One possible fix is to simply use
`os.path.isfile()` everywhere. But I think `fscache` can give us a
little perf boost, so I instead add a `real_only` flag to
`fscache.exists()`.
0 commit comments