Author: Armin Rigo <[email protected]>
Branch:
Changeset: r65510:30c281188d1c
Date: 2013-07-20 14:02 +0200
http://bitbucket.org/pypy/pypy/changeset/30c281188d1c/
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."""
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit