[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'
STINNER Victor
report at bugs.python.org
Thu Aug 18 17:45:45 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> I still think that sys.platform for the stable releases should
> never report 'linux3'
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:
* FreeBSD
* OpenBSD
* NetBSD
* unixware
* openunix
* sco_sv
* sunos
* hp-ux
(Ok, some of them are dead and you cannot expect new major versions :-))
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12326>
_______________________________________
More information about the Python-bugs-list
mailing list