[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

Antoine Pitrou report at bugs.python.org
Sun Dec 19 14:35:58 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Instead of the platform module, one must resort to hacks like examining 
> sys.maxsize

I'm not sure why you think it's a hack. To me, it's, by construction, the right way to check for 64-bitness (and also the easiest since it doesn't involved parsing of strings of an unspecified format).

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10735>
_______________________________________


More information about the Python-bugs-list mailing list