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

Boštjan Mejak report at bugs.python.org
Tue Oct 4 15:03:14 CEST 2011


Boštjan Mejak <bostjan.mejak at gmail.com> added the comment:

I have a better idea... Why don't we change the "linux2" string into just "linux". That way we will never run into this kind of issue, even in the future when Linux kernel version 4 is going to exist. Any thoughts on this?

----------
nosy: +Retro

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


More information about the Python-bugs-list mailing list