Mercurial > cpython-lru_cache-weakref
diff Lib/imputil.py @ 46749:2028fa2fc1dd legacy-trunk
Deprecate the imputil module for removal in 3.0.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Thu, 08 May 2008 18:15:14 +0000 |
| parents | 81d68dd84aa0 |
| children | a1b0936b027c |
line wrap: on
line diff
--- a/Lib/imputil.py Thu May 08 17:18:13 2008 +0000 +++ b/Lib/imputil.py Thu May 08 18:15:14 2008 +0000 @@ -9,6 +9,9 @@ DynLoadSuffixImporter """ +from warnings import warnpy3k +warnpy3k("the imputil module has been removed in Python 3.0", stacklevel=2) +del warnpy3k # note: avoid importing non-builtin modules import imp ### not available in JPython?
