STINNER Victor <vstin...@redhat.com> added the comment:

I don't understand the purpose of the 'linkage' information of 
platform.architecture(). Does anyone care if Python is an ELF program or a 
WindowsPE program? Maybe it was useful 20 years ago when there were COFF on 
Unix, but right now ELF is the defacto standard on Unix, and WindowsPE on 
Windows.

32-bit and 64-bit information should be enough, no?

I would suggest to just return ('%sbit' % bits, '') if executable is not set. 
Use struct.calcsize('P')*8 or sys.maxsize to get bits.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to