[issue3949] curses' sigwinch handler isn't visible from python

2017-11-02 Thread STINNER Victor
STINNER Victor added the comment: > The signal(SIGWINCH, SIG_IGN) call doesn't return the old, working signal > handler; it returns 0 See bpo-13285: "signal module ignores external signal changes". By the way, I recently modified test_curses to save/restore signal

[issue3949] curses' sigwinch handler isn't visible from python

2017-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +haypo, serhiy.storchaka versions: +Python 3.6, Python 3.7 -Python 3.3, Python 3.4 ___ Python tracker

[issue3949] curses' sigwinch handler isn't visible from python

2013-04-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: test needed - needs patch versions: +Python 2.7, Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3949

[issue3949] curses' sigwinch handler isn't visible from python

2009-05-18 Thread Shish
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

[issue3949] curses' sigwinch handler isn't visible from python

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Shish, Can you provide a short test script? I think this might also be related to issue 1687125. -- dependencies: +readline steals sigwinch nosy: +ajaksu2 priority: - normal stage: - test needed type: - behavior versions: +Python 2.6

[issue3949] curses' sigwinch handler isn't visible from python

2008-09-23 Thread Shish
New submission from Shish [EMAIL PROTECTED]: 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