[Python-checkins] r73901 - python/trunk/Lib/distutils/command/build_ext.py

tarek.ziade python-checkins at python.org
Thu Jul 9 09:42:43 CEST 2009


Author: tarek.ziade
Date: Thu Jul  9 09:42:42 2009
New Revision: 73901

Log:
PendingDeprecationWarning -> DeprecationWarning in build_ext

Modified:
   python/trunk/Lib/distutils/command/build_ext.py

Modified: python/trunk/Lib/distutils/command/build_ext.py
==============================================================================
--- python/trunk/Lib/distutils/command/build_ext.py	(original)
+++ python/trunk/Lib/distutils/command/build_ext.py	Thu Jul  9 09:42:42 2009
@@ -136,7 +136,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):
@@ -144,7 +144,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