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

Barry A. Warsaw report at bugs.python.org
Thu Aug 18 17:52:21 CEST 2011


Barry A. Warsaw <barry at python.org> added the comment:

On Aug 18, 2011, at 03:45 PM, STINNER Victor wrote:

>I don't understand why do you want to have a special case for
>Linux. sys.platform is already different for each major version of:

We already have special cases for cygwin, darwin, and irix (okay, the latter
is dead too :).  I'm just suggesting one more special case for linux*

(see configure.in and search for MACHDEP)

----------

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


More information about the Python-bugs-list mailing list