[py-svn] r51029 - py/trunk/py/builtin
cfbolz at codespeak.net
cfbolz at codespeak.net
Fri Jan 25 13:46:33 CET 2008
Author: cfbolz
Date: Fri Jan 25 13:46:31 2008
New Revision: 51029
Modified:
py/trunk/py/builtin/exception.py
Log:
make sure the artificial GeneratorExit claims to come from the exceptions
module
Modified: py/trunk/py/builtin/exception.py
==============================================================================
--- py/trunk/py/builtin/exception.py (original)
+++ py/trunk/py/builtin/exception.py Fri Jan 25 13:46:31 2008
@@ -11,3 +11,4 @@
write code compatible with CPython 2.5 even in lower CPython
versions."""
pass
+ GeneratorExit.__module__ = 'exceptions'
More information about the py-svn
mailing list