ModuleFinder: Get stdlib paths by sys.prefix, sys.real_prefix etc.
I took the liberty of renaming ModuleFinder.STDLIB_DIRS to _STDLIB_PATHS, since it felt like an implementation detail that shouldn't be baked into a public API and stdlib can also be imported from e.g. a zip file. I also changed it to a set to handle any duplicates. Fixes #86
Showing
Please register or sign in to comment