]> granicus.if.org Git - python/commitdiff
PendingDeprecationWarning -> DeprecationWarning in build_ext
authorTarek Ziadé <ziade.tarek@gmail.com>
Thu, 9 Jul 2009 07:42:42 +0000 (07:42 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Thu, 9 Jul 2009 07:42:42 +0000 (07:42 +0000)
Lib/distutils/command/build_ext.py

index fadd6337f7ff358b05ace86753fc0d9a80b45c13..86513ea9e99ce85fc14a377eb20ed9bd0736390d 100644 (file)
@@ -136,7 +136,7 @@ class build_ext (Command):
             # 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 @@ class build_ext (Command):
             # 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)