##// 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:

r22963:2961b531
r27749:1dcbbc47
Show More
simplevars.py
2 lines | 23 B | text/x-python | PythonLexer
x = 1
print('x is:',x)