The _Event class should be more careful with releasing its lock when interrupted.  A try/finally will do nicely.  Maybe other classes need this too, but since they manipulate more state it's less clear that that is always the right thing, and I'm in a hurry.
The _Event class should be more careful with releasing its lock when
interrupted.  A try/finally will do nicely.  Maybe other classes need
this too, but since they manipulate more state it's less clear that
that is always the right thing, and I'm in a hurry.

Backport candidate.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator