mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
(Merge 3.2) Issue #13545: Fix platform.libc_version() is the SO version is missing
This commit is contained in:
commit
9c49036e70
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ def libc_ver(executable=sys.executable,lib='',version='',
|
||||||
elif so:
|
elif so:
|
||||||
if lib != 'glibc':
|
if lib != 'glibc':
|
||||||
lib = 'libc'
|
lib = 'libc'
|
||||||
if soversion > version:
|
if soversion and soversion > version:
|
||||||
version = soversion
|
version = soversion
|
||||||
if threads and version[-len(threads):] != threads:
|
if threads and version[-len(threads):] != threads:
|
||||||
version = version + threads
|
version = version + threads
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue