From 6da80545cec5757d41ef22ed4cc48d8751551d14 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Wed, 4 Dec 2024 10:37:53 +0100 Subject: [PATCH] remove mention of IPython.genutils (deprecated 7+ years) --- lib/python/pyflyby/_interactive.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/python/pyflyby/_interactive.py b/lib/python/pyflyby/_interactive.py index ea11ecdc..d523f589 100644 --- a/lib/python/pyflyby/_interactive.py +++ b/lib/python/pyflyby/_interactive.py @@ -1156,11 +1156,6 @@ def UpdateIPythonStdioCtx(): module = sys.modules["IPython.utils.io"] container = module IOStream = module.IOStream - elif "IPython.genutils" in sys.modules: - # Tested with IPython 0.10. - module = sys.modules["IPython.genutils"] - container = module.Term - IOStream = module.IOStream else: # IPython version too old or too new? # For now just silently do nothing.