Shish <shish+pyt...@shishnet.org> added the comment: in its simplest form, this shows the bug -- signal.getsignal does not return the original signal handler (the "tell the app to resize itself" one that curses installs), and so, the original signal handler cannot be re-activated after being temporarily disabled
~~~~~~~~~~~~~~ import curses import signal curses.initscr() old_winch = signal.getsignal(signal.SIGWINCH) curses.endwin() print old_winch ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3949> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com