diff --git a/IPython/external/path.py b/IPython/external/path.py index 038d7ce..6b0f952 100644 --- a/IPython/external/path.py +++ b/IPython/external/path.py @@ -29,7 +29,10 @@ Date: 9 Mar 2007 from __future__ import generators -import sys, warnings, os, fnmatch, glob, shutil, codecs, md5 +import sys, warnings, os, fnmatch, glob, shutil, codecs +# deprecated in python 2.6 +warnings.filterwarnings('ignore', r'.*md5.*') +import md5 __version__ = '2.2' __all__ = ['path'] diff --git a/IPython/iplib.py b/IPython/iplib.py index 1bb1650..03846f8 100644 --- a/IPython/iplib.py +++ b/IPython/iplib.py @@ -54,6 +54,8 @@ import sys import tempfile import traceback import types +import warnings +warnings.filterwarnings('ignore', r'.*sets module*') from sets import Set from pprint import pprint, pformat