[New-bugs-announce] [issue26351] Occasionally check for Ctrl-C in long-running operations like sum

Steven D'Aprano report at bugs.python.org
Fri Feb 12 12:47:32 EST 2016


New submission from Steven D'Aprano:

There are a few operations such as summing or unpacking infinite iterators where the interpreter can become unresponsive and ignore Ctrl-C KeyboardInterrupt. Guido suggests that such places should occasionally check for signals:

https://mail.python.org/pipermail/python-ideas/2016-February/038426.html

----------
components: Interpreter Core
messages: 260189
nosy: steven.daprano
priority: normal
severity: normal
status: open
title: Occasionally check for Ctrl-C in long-running operations like sum
type: behavior
versions: Python 3.6

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


More information about the New-bugs-announce mailing list