Deprecate the dl module for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-10 21:20:19 +00:00
parent 0aa6e1b8fb
commit 7f874fce63
4 changed files with 12 additions and 4 deletions

View file

@ -132,7 +132,7 @@ class TestStdlibRemovals(unittest.TestCase):
'Bastion', 'compiler', 'dircache')
inclusive_platforms = {'irix':('pure',)}
# XXX Don't know if lib-tk is only installed if _tkinter is built.
optional_modules = ('bsddb185', 'Canvas')
optional_modules = ('bsddb185', 'Canvas', 'dl')
def check_removal(self, module_name, optional=False):
"""Make sure the specified module, when imported, raises a