Matthias Klose added the comment: updated patch and test case.
Nick's suggestion to use platform.machine() for the test is wrong. This would test for the environment, not for the just built binary. Try to run a 32bit executable on a 64bit kernel, you'll see x86_64. Same thing with sysconfig.get_platform(). So if anybody is using this to determine the names of wheels, that can go only wrong for 32bit distributions. ---------- Added file: http://bugs.python.org/file39027/ma2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22980> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com