[issue28096] set.difference() is not interruptible

Raymond Hettinger report at bugs.python.org
Mon Sep 12 03:39:42 EDT 2016


Raymond Hettinger added the comment:

This is no different than the many other places in Python where you can tell the language to go on an infinite wild goose chase:  sum(count()), list(count()), etc.  I believe there is already a tracker item open for such things.  Someone is going to have to make a decision whether to slow-down every single possible input source, or slow-down every possible consumer, or to just punt, because this never comes up in practice.

----------
resolution:  -> duplicate
status: open -> closed

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


More information about the Python-bugs-list mailing list