diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-17 18:47:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 18:47:24 +0100 |
commit | 0af9c33262fb43f39a6558e3f155689e83e10706 (patch) | |
tree | 5cce3e7ae9bafb77c733a2ff2410c074c73d218d /Python | |
parent | 94cf308ee231bfbfaa9ddc50b9764545a1318773 (diff) | |
download | cpython-git-0af9c33262fb43f39a6558e3f155689e83e10706.tar.gz |
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>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions