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

Antoine Pitrou report at bugs.python.org
Thu Aug 18 20:38:59 CEST 2011


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

> > Really, it's not difficult to understand that code testing for "linux2"
> > will stop working when "linux3" gets released.
> 
> This doesn't matter. People will still complain. And, as there is an
> obvious work-around, why not make people's lives easier?

At the cost of some additional confusion, though.

----------

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


More information about the Python-bugs-list mailing list