cpython/Lib/packaging/compiler
Éric Araujo 9f90a731eb Use sys.version_info instead of sys.version in packaging.
The contents of this attribute are an implementation detail, as
documented for #9442, so we should not parse it, to support non-CPython
VMs with distutils2 in the future.

Unfortunately, one use comes directly from PEP 345, so an edit will have
to be agreed before fixing the code (see comment in p7g.markers).

Other remaining uses are found in p7g.compiler and could be replaced by
the platform module (which also parses sys.version, but then it wouldn’t
be my fault :)
2012-02-10 05:20:53 +01:00
..
__init__.py Remove obsolete verbose arguments from packaging. 2011-11-15 11:43:20 +01:00
bcppcompiler.py Remove obsolete verbose arguments from packaging. 2011-11-15 11:43:20 +01:00
ccompiler.py Remove obsolete verbose arguments from packaging. 2011-11-15 11:43:20 +01:00
cygwinccompiler.py Use sys.version_info instead of sys.version in packaging. 2012-02-10 05:20:53 +01:00
extension.py
msvc9compiler.py Remove obsolete verbose arguments from packaging. 2011-11-15 11:43:20 +01:00
msvccompiler.py Remove obsolete verbose arguments from packaging. 2011-11-15 11:43:20 +01:00
unixccompiler.py Packaging cleanup: remove conditionals for < 2.6 support. 2011-09-17 03:31:51 +02:00