diff options
author | Christian Heimes <christian@python.org> | 2022-05-19 10:43:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 10:43:16 (GMT) |
commit | 137fd3d88aa46669f5717734e823f4c594ab2843 (patch) | |
tree | a527865e1f3729ef3d7c69a43d08072d8d837d9c /Lib/platform.py | |
parent | e48ac9c1003c3816198cbfb6132a995150f9b048 (diff) | |
download | cpython-137fd3d88aa46669f5717734e823f4c594ab2843.zip cpython-137fd3d88aa46669f5717734e823f4c594ab2843.tar.gz cpython-137fd3d88aa46669f5717734e823f4c594ab2843.tar.bz2 |
gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index 3f3f25a..c272c40 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -186,6 +186,10 @@ def libc_ver(executable=None, lib='', version='', chunksize=16384): executable = sys.executable + if not executable: + # sys.executable is not set. + return lib, version + V = _comparable_version # We use os.path.realpath() # here to work around problems with Cygwin not being |