]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26544: Make platform.libc_ver() less slow (GH-10868)
authorVictor Stinner <vstinner@redhat.com>
Mon, 3 Dec 2018 15:49:24 +0000 (16:49 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Dec 2018 15:49:24 +0000 (16:49 +0100)
commit8687bd86e6f138ef0699a1e9f3f9555765949b51
treed2ebd65958cd15320ca87ce4abd7536e97a69601
parentc275be54411d425c90e7c679ddb5321ba458f61d
bpo-26544: Make platform.libc_ver() less slow (GH-10868)

Coarse benchmark on Fedora 29: 1.6 sec => 0.1 sec.

Co-Authored-By: Antoine Pitrou <solipsis@pitrou.net>
(cherry-picked from commit ba7c226095703f63c78b00e56f1db8d99ac3a54a)
Lib/platform.py