[issue3949] curses' sigwinch handler isn't visible from python
Shish
report at bugs.python.org
Tue Sep 23 23:18:28 CEST 2008
New submission from Shish <shish+python at shishnet.org>:
after the first initscr() sigwinch is handled as expected, but then my
app needs to ignore sigwinch, leave curses to view the output from
something, come back into curses, and start listening for sigwinch
again. The signal(SIGWINCH, SIG_IGN) call doesn't return the old,
working signal handler; it returns 0 -- thus trying to re-set the
signal handler doesn't work.
(The reason for ignoring the signal is that if the window is resized
while the external app is running, python's wait() is interrupted)
Having the handler visible from python would also make curses play
nicer with readline, as the app could mediate signal handling (see
issue #3948)
----------
components: Extension Modules
messages: 73668
nosy: shish
severity: normal
status: open
title: curses' sigwinch handler isn't visible from python
versions: Python 2.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3949>
_______________________________________
More information about the Python-bugs-list
mailing list