[Python-checkins] r73903 - in python/branches/py3k: Lib/distutils/command/build_ext.py

tarek.ziade python-checkins at python.org
Thu Jul 9 09:46:10 CEST 2009


Author: tarek.ziade
Date: Thu Jul  9 09:46:10 2009
New Revision: 73903

Log:
Merged revisions 73901 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73901 | tarek.ziade | 2009-07-09 09:42:42 +0200 (Thu, 09 Jul 2009) | 1 line
  
  PendingDeprecationWarning -> DeprecationWarning in build_ext
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/distutils/command/build_ext.py

Modified: python/branches/py3k/Lib/distutils/command/build_ext.py
==============================================================================
--- python/branches/py3k/Lib/distutils/command/build_ext.py	(original)
+++ python/branches/py3k/Lib/distutils/command/build_ext.py	Thu Jul  9 09:46:10 2009
@@ -134,7 +134,7 @@
             # we don't want to allow that anymore in the future
             warn("'compiler' specifies the compiler type in build_ext. "
                  "If you want to get the compiler object itself, "
-                 "use 'compiler_obj'", PendingDeprecationWarning)
+                 "use 'compiler_obj'", DeprecationWarning)
         self._compiler = compiler
 
     def _get_compiler(self):
@@ -142,7 +142,7 @@
             # we don't want to allow that anymore in the future
             warn("'compiler' specifies the compiler type in build_ext. "
                  "If you want to get the compiler object itself, "
-                 "use 'compiler_obj'", PendingDeprecationWarning)
+                 "use 'compiler_obj'", DeprecationWarning)
         return self._compiler
 
     compiler = property(_get_compiler, _set_compiler)


More information about the Python-checkins mailing list