stdlib-list icon indicating copy to clipboard operation
stdlib-list copied to clipboard

Some extra (mostly tests?) modules included

Open thatch opened this issue 5 years ago • 2 comments

From a spot-check, there are some extra modules that don't end up in site-packages on a standard install.

ctypes.test.test_cfuncs
distutils.tests.test_build_scripts
test.badsyntax_pep3120
test.test_asyncio.test_futures
test.test_subprocess
json.re (on 2.7)

Most of these aren't going to pose a big problem for me, but considering top-level names only test.* will. Would you accept a pull request that filters these (just test.* for now) in fetch?

thatch avatar Jun 09 '20 21:06 thatch

On 3.9, there is a lib.libpython3 that is very problematic for usort's use of detecting stdlib top-level names. I fixed and re-ran fetch with some small changes, and it's excluding some others, like posixpath now. I think something has changed in the data upstream.

https://github.com/thatch/python-stdlib-list/commit/e38754009e1f0b34e9a3ededcdd2361cb05d65ed (and changes to fetch script in the couple of commits prior)

thatch avatar Mar 25 '21 21:03 thatch

@CJ-Wright I saw your PR #39 -- looks like you didn't use stdlib_list.fetch for that?

thatch avatar Mar 25 '21 22:03 thatch

Folding under #80.

woodruffw avatar Aug 27 '23 16:08 woodruffw