[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'
report at bugs.python.org
Fri Aug 19 15:12:24 CEST 2011
Marc-Andre Lemburg <mal at egenix.com> added the comment:
Antoine Pitrou wrote:
> Antoine Pitrou <pitrou at free.fr> added the comment:
>> The suggested change removes the compile time information from
>> the platform string, so that information needs to be preserved
>> in a new attribute.
> -1 on any new platform identification attribute. We already have too
> many of them, and there's the platform module for precise
Please reread the quoted sentence:
The *compile time* version information needs to be preserved.
The platform module provide *run-time* information, but doesn't
give access to the compile time information.
We do have distutils to read the full compile time information,
but it's not always available, since it often requires installing
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list