Feature Requests item #1509060, was opened at 2006-06-19 21:30 Message generated for change (Comment added) made by josiahcarlson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1509060&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Threads Group: None Status: Open Resolution: None Priority: 5 Submitted By: Oliver Bock (oliverbock) Assigned to: Nobody/Anonymous (nobody) Summary: Interrupt/kill threads w/exception Initial Comment: When unsophisticated (but not evil) users write Python macros, they occasionally write infinite loops. It would be nice if it was possible to interrupt threads to break these loops. The safety of rasing an exception in another thread was noted in http://sourceforge.net/tracker/?func=detail&atid=305470&aid=452266&group_id=5470 Anton Wilson wrote a patch for this some time ago: http://mail.python.org/pipermail/python-list/2003-February/148999.html Note that this won't help if the thread is blocked on I/O. ---------------------------------------------------------------------- Comment By: Josiah Carlson (josiahcarlson) Date: 2006-06-23 11:24 Message: Logged In: YES user_id=341410 It would be nice to be able to kill runaway threads, though I have no comment on the patch that Anton Wilson offers (which will no doubt need to be updated for more recent Pythons). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1509060&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com