Antoine Pitrou <pit...@free.fr> added the comment: > > The change to sys.platform=='linux' would break code even on current > > platforms. > > Correct. Compared to introducing 'linux3', I consider this the better > change - it likely breaks earlier (i.e. when porting to Python 3.3).
FWIW, I also agree that sys.platform == 'linux' would be the better choice. It seems there's little point having the kernel's major version there. It's both disruptive and useless (because features are introduced at any point, not just at new major versions). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12326> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com