Kaydet (Commit) 26f0c645 authored tarafından Tarek Ziadé's avatar Tarek Ziadé

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
........
üst 556934b3
...@@ -134,7 +134,7 @@ class build_ext(Command): ...@@ -134,7 +134,7 @@ class build_ext(Command):
# we don't want to allow that anymore in the future # we don't want to allow that anymore in the future
warn("'compiler' specifies the compiler type in build_ext. " warn("'compiler' specifies the compiler type in build_ext. "
"If you want to get the compiler object itself, " "If you want to get the compiler object itself, "
"use 'compiler_obj'", PendingDeprecationWarning) "use 'compiler_obj'", DeprecationWarning)
self._compiler = compiler self._compiler = compiler
def _get_compiler(self): def _get_compiler(self):
...@@ -142,7 +142,7 @@ class build_ext(Command): ...@@ -142,7 +142,7 @@ class build_ext(Command):
# we don't want to allow that anymore in the future # we don't want to allow that anymore in the future
warn("'compiler' specifies the compiler type in build_ext. " warn("'compiler' specifies the compiler type in build_ext. "
"If you want to get the compiler object itself, " "If you want to get the compiler object itself, "
"use 'compiler_obj'", PendingDeprecationWarning) "use 'compiler_obj'", DeprecationWarning)
return self._compiler return self._compiler
compiler = property(_get_compiler, _set_compiler) compiler = property(_get_compiler, _set_compiler)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment