[issue42955] Add sys.module_names: list of stdlib module names (Python and extension modules)

Ronald Oussoren report at bugs.python.org
Tue Jan 19 07:39:23 EST 2021


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

BTW. A list of stdlib module names is not sufficient to determine if a module is in the stdlib, thanks to .pth files it is possible to have entries on sys.path before the stdlib.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42955>
_______________________________________


More information about the Python-bugs-list mailing list