Qi Yong <qiyong at sosdg.org> writes: > Hello, > > With this script, after ctrl-d, ctrl-c exception not catch. > Is it a python bug or a wrong exception usage? Thanks. > If with import readline, this problem disappears. there's already a bug in the issue tracker: http://bugs.python.org/issue1195 Cheers, - Ralf