SIGN IN SIGN UP

bpo-35389: platform.platform() calls libc_ver() without executable (GH-14418)

When libc_ver() is called with an executable, the
os.confstr('CS_GNU_LIBC_VERSION') fast-path cannot be taken. Modify
platform.platform() to call libc_ver() without executable, instead of
calling libc_ver(sys.executable), since sys.executable is already the
default value.
V
Victor Stinner committed
a719c8f4bd3cc5b1d98700c15c4a818f4d5617a4
Parent: 4c26abd
Committed by GitHub <noreply@github.com> on 6/27/2019, 7:04:28 AM