[pypy-commit] pypy release-2.1.x: issue1552 resolved
arigo
noreply at buildbot.pypy.org
Sat Jul 20 14:10:23 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: release-2.1.x
Changeset: r65516:b33e576be3b6
Date: 2013-07-20 14:02 +0200
http://bitbucket.org/pypy/pypy/changeset/b33e576be3b6/
Log: issue1552 resolved
Inherit GreenletExit from BaseException.
diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py
--- a/lib_pypy/greenlet.py
+++ b/lib_pypy/greenlet.py
@@ -6,7 +6,7 @@
# ____________________________________________________________
# Exceptions
-class GreenletExit(Exception):
+class GreenletExit(BaseException):
"""This special exception does not propagate to the parent greenlet; it
can be used to kill a single greenlet."""
More information about the pypy-commit
mailing list