[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'
report at bugs.python.org
Fri Aug 19 15:19:26 CEST 2011
Marc-Andre Lemburg <mal at egenix.com> added the comment:
Éric Araujo wrote:
> Éric Araujo <merwok at netwok.org> added the comment:
>> We do have distutils to read the full compile time information
> We have sysconfig in the stdlib in 2.7 and 3.2+.
Right (it originated in distutils), but it has the same problem:
without the Makefile and pyconfig.h files installed, it cannot
do its magic.
In addition to that it has the same problem as the platform module:
getting the information can be time and resource consuming.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list