##// END OF EJS Templates
terminal interface: catch exception when standard stream is closed...
terminal interface: catch exception when standard stream is closed if a standard stream is closed, e.g. `import sys; sys.stdin.close()`, a ValueError is raised when the stream is read. this commit adds a try .. except statement to catch that exception in IPython/terminal/interactiveshell.py

File last commit:

r23033:5dd70876
r27749:1dcbbc47
Show More
traitlets.py
6 lines | 143 B | text/x-python | PythonLexer
from warnings import warn
warn("IPython.utils.traitlets has moved to a top-level traitlets package.", stacklevel=2)
from traitlets import *