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

Alex report at bugs.python.org
Fri Jun 27 01:05:17 CEST 2014


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, but things like

while 1:
  if 0+0: pass

are.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21870>
_______________________________________


More information about the Python-bugs-list mailing list