Skip to content

Commit 6149d17

Browse files
committed
Add _zstd to inspector
1 parent afc3b40 commit 6149d17

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/portable_python/external/_inspect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"_tkinter": "TCL_VERSION TK_VERSION",
1111
"_sqlite3": "sqlite_version version",
1212
"_ssl": "OPENSSL_VERSION",
13+
"_zstd": "zstd_version",
1314
"dbm.gnu": "_GDBM_VERSION",
1415
"ensurepip": "_PIP_VERSION",
1516
"pyexpat": "version_info",

src/portable_python/inspector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def get_lib_type(install_folder, path, basename):
397397

398398

399399
class PythonInspector:
400-
default = "_bz2,_ctypes,_curses,_decimal,_dbm,_gdbm,_lzma,_tkinter,_sqlite3,_ssl,_uuid,pip,readline,pyexpat,setuptools,zlib"
400+
default = "_bz2,_ctypes,_curses,_decimal,_dbm,_gdbm,_lzma,_tkinter,_sqlite3,_ssl,_uuid,_zstd,pip,readline,pyexpat,setuptools,zlib"
401401
additional = "_asyncio,_functools,_tracemalloc,dbm.gnu,ensurepip,ossaudiodev,spwd,sys,tkinter,venv,wheel"
402402

403403
def __init__(self, spec, modules=None):

0 commit comments

Comments
 (0)