[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables
report at bugs.python.org
Mon Dec 20 01:51:33 CET 2010
Ned Deily <nad at acm.org> added the comment:
Adding a warning sounds like a good idea. Is it reasonable to include a recommended cross-platform approach in the platform doc, like either the sys.maxsize test or the struct.calsize("P") test (which is used as a default fallback in platform.architecture)? Are there any currently supported platforms where either of those wouldn't work?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list