SIGN IN SIGN UP

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>
V
Victor Stinner committed
0af9c33262fb43f39a6558e3f155689e83e10706
Parent: 94cf308
Committed by GitHub <noreply@github.com> on 12/17/2018, 5:47:24 PM