Lone ctrl-Z should still be EOF
Brought to you by:
tgbishop
As an 8-year Win32 Python user, I am accustomed to
using ctrl-Z to exit the command line interpreter.
Imagine my surprise, after installing readline 1.12 so
I could use IronPython, when I discovered that ctrl-Z
no longer exited the interpreter (ANYWHERE, even
outside of IronPython), and I had to use ctrl-D instead.
That's REALLY unfriendly, especially since the "exit"
builtin instructs the user to press ctrl-Z.
The attached small patch to PyReadline.py makes a lone
ctrl-Z act as EOF again, while still allowing ctrl-D.
Context diff patch