[issue22980] C extension naming doesn't take bitness into account

Matthias Klose report at bugs.python.org
Wed Apr 15 02:49:06 CEST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue22980>
_______________________________________


More information about the Python-bugs-list mailing list