[Python-checkins] cpython: The compiler class for EMX was removed

eric.araujo python-checkins at python.org
Wed Jun 1 19:47:53 CEST 2011


http://hg.python.org/cpython/rev/c3f8991cd74d
changeset:   70587:c3f8991cd74d
user:        Éric Araujo <merwok at netwok.org>
date:        Wed Jun 01 15:20:44 2011 +0200
summary:
  The compiler class for EMX was removed

files:
  Lib/packaging/compiler/__init__.py  |  5 +----
  Lib/packaging/compiler/ccompiler.py |  2 +-
  2 files changed, 2 insertions(+), 5 deletions(-)


diff --git a/Lib/packaging/compiler/__init__.py b/Lib/packaging/compiler/__init__.py
--- a/Lib/packaging/compiler/__init__.py
+++ b/Lib/packaging/compiler/__init__.py
@@ -83,19 +83,16 @@
 # patterns. Order is important; platform mappings are preferred over
 # OS names.
 _default_compilers = (
-
     # Platform string mappings
 
     # on a cygwin built python we can use gcc like an ordinary UNIXish
     # compiler
     ('cygwin.*', 'unix'),
-    ('os2emx', 'emx'),
 
     # OS name mappings
     ('posix', 'unix'),
     ('nt', 'msvc'),
-
-    )
+)
 
 def get_default_compiler(osname=None, platform=None):
     """ Determine the default compiler to use for the given platform.
diff --git a/Lib/packaging/compiler/ccompiler.py b/Lib/packaging/compiler/ccompiler.py
--- a/Lib/packaging/compiler/ccompiler.py
+++ b/Lib/packaging/compiler/ccompiler.py
@@ -352,7 +352,7 @@
         return macros, objects, extra, pp_opts, build
 
     def _get_cc_args(self, pp_opts, debug, before):
-        # works for unixccompiler, emxccompiler, cygwinccompiler
+        # works for unixccompiler and cygwinccompiler
         cc_args = pp_opts + ['-c']
         if debug:
             cc_args[:0] = ['-g']

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list