commit | 0af9c33262fb43f39a6558e3f155689e83e10706 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Mon Dec 17 18:47:24 2018 +0100 |
committer | GitHub <noreply@github.com> | Mon Dec 17 18:47:24 2018 +0100 |
tree | 5cce3e7ae9bafb77c733a2ff2410c074c73d218d | |
parent | 94cf308ee231bfbfaa9ddc50b9764545a1318773 [diff] |
bpo-35348: Fix platform.architecture() (GH-11159) Make platform.architecture() parsing of "file" command output more reliable: * Add the "-b" option to the "file" command to omit the filename; * Force the usage of the C locale; * Search also the "shared object" pattern. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>