[Patches] [ python-Patches-410709 ] Condition.wait() and KeyboardInterrupt
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 08 Apr 2001 21:26:26 -0700
Patches item #410709, was updated on 2001-03-22 21:46
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=410709&group_id=5470
>Category: core (C code)
Group: None
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Tim Peters (tim_one)
Summary: Condition.wait() and KeyboardInterrupt
Initial Comment:
>My problem is: Condition.wait() is not protected
against
>KeyboardInterrupt. Fix is below.
>
>Regards,
>Oleg.
>
>-----------------------------
>#python 2.0, threading.py:
>
>...
>class _Condition(_Verbose):
>...
> def wait(self, timeout=None):
>...
> saved_state = self._release_save()
># line to be inserted
> try:
>...
># line to be inserted
> finally:
> self._acquire_restore(saved_state)
>
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2001-04-08 21:26
Message:
Logged In: YES
user_id=31435
I don't know what this report is about, so am just closing
it. It's in the Patches category but no patch is
attached. A related change was previously made in the CVS
tree.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2001-03-25 10:01
Message:
Logged In: YES
user_id=21627
Is that something that is already fixed in 2.1? If not, the
Group should be changed to None: 2.0.1 is for patches that
are *only* meant for 2.0.1, i.e. who should not appear in
later releases.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=410709&group_id=5470