Message331843
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. |
|
Date |
User |
Action |
Args |
2018-12-14 17:20:59 | vstinner | set | recipients:
+ vstinner, lemburg, ronaldoussoren, serhiy.storchaka, Windson Yang |
2018-12-14 17:20:59 | vstinner | set | messageid: <1544808059.61.0.788709270274.issue35348@psf.upfronthosting.co.za> |
2018-12-14 17:20:59 | vstinner | link | issue35348 messages |
2018-12-14 17:20:59 | vstinner | create | |
|