[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

Antoine Pitrou report at bugs.python.org
Fri Aug 19 14:18:27 CEST 2011


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

> The suggested change removes the compile time information from
> the platform string, so that information needs to be preserved
> in a new attribute.

-1 on any new platform identification attribute. We already have too
many of them, and there's the platform module for precise
identification.

----------

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


More information about the Python-bugs-list mailing list