[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-26 Thread Alex
Alex added the comment: It's not a major usability issue for me, and I wouldn't be too distressed by a WONTFIX, though I don't know how much it affects other people. I've just noticed that this is a smaller version: while 1: if 0<0: pass I'm curious as to why the above is not interruptible,

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-26 Thread STINNER Victor
STINNER Victor added the comment: The problem is in the ceval.c, the core of Python bytecode interpreter. For performances, it doesn't check if pending calls should be called for each instructio. It uses "fast dispatch" which doesn't check pending calls. The problem is that a signal schedules

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread R. David Murray
R. David Murray added the comment: I can duplicate this. ctl-c works fine in 3.5, however. -- nosy: +r.david.murray ___ Python tracker ___ __

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread Alex
Changes by Alex : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread Alex
Changes by Alex : -- components: -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread Alex
New submission from Alex: This infinite loop: def f(): a=b=0 while 1: if a ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/pytho