Author vstinner
Recipients Windson Yang, lemburg, ronaldoussoren, serhiy.storchaka, vstinner
Date 2018-12-14.17:20:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544808059.61.0.788709270274.issue35348@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-12-14 17:20:59vstinnersetrecipients: + vstinner, lemburg, ronaldoussoren, serhiy.storchaka, Windson Yang
2018-12-14 17:20:59vstinnersetmessageid: <1544808059.61.0.788709270274.issue35348@psf.upfronthosting.co.za>
2018-12-14 17:20:59vstinnerlinkissue35348 messages
2018-12-14 17:20:59vstinnercreate