commit | 80bb9d92e3fdf671cb4f8ffeaadcaa1dedbe7876 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Thu May 08 18:15:14 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Thu May 08 18:15:14 2008 +0000 |
tree | fb283f3e2052729f7e1380f2b9c49b122d3fec05 | |
parent | f8105ceec7c9e97dc46bde392f5e1e46ccc02d1a [diff] [blame] |
Deprecate the imputil module for removal in 3.0.
diff --git a/Lib/imputil.py b/Lib/imputil.py index 675a634..0eba435 100644 --- a/Lib/imputil.py +++ b/Lib/imputil.py
@@ -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?