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

Martin v. Löwis report at bugs.python.org
Sun Jun 26 22:08:35 CEST 2011


Martin v. Löwis <martin at v.loewis.de> added the comment:

> I can't speak, as I've never used those. But can't those directories
> be renamed to Lib/plat-<platform.system()>?

That would be incorrect for some systems. For example, FreeBSD does
change sets of symbolic constants across system releases (mostly
additions, but sometimes also removals). Back then, SunOS 4 and SunOS
5 were completely unrelated systems.

> Since Linux 3 is in RC now, is there a chance to reach a consensus in
> the near future?

Doesn't look like it.

----------

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


More information about the Python-bugs-list mailing list