diff options
Diffstat (limited to 'Python/module_names.h')
-rw-r--r-- | Python/module_names.h | 295 |
1 files changed, 138 insertions, 157 deletions
diff --git a/Python/module_names.h b/Python/module_names.h index 533a732..0dc2633 100644 --- a/Python/module_names.h +++ b/Python/module_names.h @@ -1,63 +1,123 @@ // Auto-generated by Tools/scripts/generate_module_names.py. +// List used to create sys.module_names. static const char* _Py_module_names[] = { - -// Built-in modules +"__future__", "_abc", +"_aix_support", "_ast", +"_asyncio", +"_bisect", +"_blake2", +"_bootsubprocess", +"_bz2", "_codecs", +"_codecs_cn", +"_codecs_hk", +"_codecs_iso2022", +"_codecs_jp", +"_codecs_kr", +"_codecs_tw", "_collections", +"_collections_abc", +"_compat_pickle", +"_compression", +"_contextvars", +"_crypt", +"_csv", +"_ctypes", +"_curses", +"_curses_panel", +"_datetime", +"_dbm", +"_decimal", +"_elementtree", "_functools", +"_gdbm", +"_hashlib", +"_heapq", "_imp", "_io", +"_json", "_locale", +"_lsprof", +"_lzma", +"_markupbase", +"_md5", +"_msi", +"_multibytecodec", +"_multiprocessing", +"_opcode", "_operator", +"_osx_support", +"_pickle", +"_posixshmem", +"_posixsubprocess", +"_py_abc", +"_pydecimal", +"_pyio", +"_queue", +"_random", +"_sha1", +"_sha256", +"_sha3", +"_sha512", "_signal", +"_sitebuiltins", +"_socket", +"_sqlite3", "_sre", +"_ssl", "_stat", +"_statistics", "_string", +"_strptime", +"_struct", "_symtable", "_thread", +"_threading_local", +"_tkinter", "_tracemalloc", +"_uuid", "_warnings", "_weakref", -"atexit", -"builtins", -"errno", -"faulthandler", -"gc", -"itertools", -"marshal", -"posix", -"pwd", -"sys", -"time", - -// Pure Python modules (Lib/*.py) -"__future__", +"_weakrefset", +"_winapi", +"_xxsubinterpreters", +"_zoneinfo", "abc", "aifc", "antigravity", "argparse", +"array", "ast", "asynchat", +"asyncio", "asyncore", +"atexit", +"audioop", "base64", "bdb", +"binascii", "binhex", "bisect", +"builtins", "bz2", "cProfile", "calendar", "cgi", "cgitb", "chunk", +"cmath", "cmd", "code", "codecs", "codeop", +"collections", "colorsys", "compileall", +"concurrent", +"concurrent.futures", "configparser", "contextlib", "contextvars", @@ -65,45 +125,80 @@ static const char* _Py_module_names[] = { "copyreg", "crypt", "csv", +"ctypes", +"ctypes.macholib", +"curses", "dataclasses", "datetime", +"dbm", "decimal", "difflib", "dis", +"distutils", +"distutils.command", "doctest", +"email", +"email.mime", +"encodings", +"ensurepip", +"ensurepip._bundled", "enum", +"errno", +"faulthandler", +"fcntl", "filecmp", "fileinput", "fnmatch", "fractions", "ftplib", "functools", +"gc", "genericpath", "getopt", "getpass", "gettext", "glob", "graphlib", +"grp", "gzip", "hashlib", "heapq", "hmac", +"html", +"http", +"idlelib", "imaplib", "imghdr", "imp", +"importlib", "inspect", "io", "ipaddress", +"itertools", +"json", "keyword", +"lib2to3", +"lib2to3.fixes", +"lib2to3.pgen2", "linecache", "locale", +"logging", "lzma", "mailbox", "mailcap", +"marshal", +"math", "mimetypes", +"mmap", "modulefinder", +"msilib", +"msvcrt", +"multiprocessing", +"multiprocessing.dummy", "netrc", +"nis", "nntplib", +"nt", "ntpath", "nturl2path", "numbers", @@ -111,6 +206,7 @@ static const char* _Py_module_names[] = { "operator", "optparse", "os", +"ossaudiodev", "pathlib", "pdb", "pickle", @@ -120,23 +216,30 @@ static const char* _Py_module_names[] = { "platform", "plistlib", "poplib", +"posix", "posixpath", "pprint", "profile", "pstats", "pty", +"pwd", "py_compile", "pyclbr", "pydoc", +"pydoc_data", +"pyexpat", "queue", "quopri", "random", "re", +"readline", "reprlib", +"resource", "rlcompleter", "runpy", "sched", "secrets", +"select", "selectors", "shelve", "shlex", @@ -148,6 +251,8 @@ static const char* _Py_module_names[] = { "sndhdr", "socket", "socketserver", +"spwd", +"sqlite3", "sre_compile", "sre_constants", "sre_parse", @@ -160,15 +265,20 @@ static const char* _Py_module_names[] = { "subprocess", "sunau", "symtable", +"sys", "sysconfig", +"syslog", "tabnanny", "tarfile", "telnetlib", "tempfile", +"termios", "textwrap", "this", "threading", +"time", "timeit", +"tkinter", "token", "tokenize", "trace", @@ -176,161 +286,32 @@ static const char* _Py_module_names[] = { "tracemalloc", "tty", "turtle", +"turtledemo", "types", "typing", +"unicodedata", +"unittest", +"urllib", "uu", "uuid", +"venv", "warnings", "wave", "weakref", "webbrowser", -"xdrlib", -"zipapp", -"zipfile", -"zipimport", - -// Packages and sub-packages -"asyncio", -"collections", -"concurrent", -"concurrent.futures", -"ctypes", -"ctypes.macholib", -"curses", -"dbm", -"distutils", -"distutils.command", -"email", -"email.mime", -"encodings", -"ensurepip", -"ensurepip._bundled", -"html", -"http", -"idlelib", -"importlib", -"json", -"lib2to3", -"lib2to3.fixes", -"lib2to3.pgen2", -"logging", -"msilib", -"multiprocessing", -"multiprocessing.dummy", -"pydoc_data", -"sqlite3", -"tkinter", -"turtledemo", -"unittest", -"urllib", -"venv", +"winreg", +"winsound", "wsgiref", +"xdrlib", "xml", "xml.dom", "xml.etree", "xml.parsers", "xml.sax", "xmlrpc", -"zoneinfo", - -// Extension modules built by setup.py -"_asyncio", -"_bisect", -"_blake2", -"_bz2", -"_codecs_cn", -"_codecs_hk", -"_codecs_iso2022", -"_codecs_jp", -"_codecs_kr", -"_codecs_tw", -"_contextvars", -"_crypt", -"_csv", -"_ctypes", -"_curses", -"_curses_panel", -"_datetime", -"_dbm", -"_decimal", -"_elementtree", -"_gdbm", -"_hashlib", -"_heapq", -"_json", -"_lsprof", -"_lzma", -"_md5", -"_multibytecodec", -"_multiprocessing", -"_opcode", -"_pickle", -"_posixshmem", -"_posixsubprocess", -"_queue", -"_random", -"_sha1", -"_sha256", -"_sha3", -"_sha512", -"_socket", -"_sqlite3", -"_ssl", -"_statistics", -"_struct", -"_tkinter", -"_uuid", -"_xxsubinterpreters", -"_zoneinfo", -"array", -"audioop", -"binascii", -"cmath", -"fcntl", -"grp", -"math", -"mmap", -"nis", -"ossaudiodev", -"pyexpat", -"readline", -"resource", -"select", -"spwd", -"syslog", -"termios", -"unicodedata", +"zipapp", +"zipfile", +"zipimport", "zlib", - -// Built-in and extension modules built by Modules/Setup -"_abc", -"_codecs", -"_collections", -"_functools", -"_io", -"_locale", -"_operator", -"_signal", -"_sre", -"_stat", -"_symtable", -"_thread", -"_tracemalloc", -"_weakref", -"atexit", -"errno", -"faulthandler", -"itertools", -"posix", -"pwd", -"time", - -// Windows extension modules -"_msi", -"_winapi", -"msvcrt", -"nt", -"winreg", -"winsound", - +"zoneinfo", }; |