Author: Edd Barrett <[email protected]>
Branch: nobold-backtrace
Changeset: r66373:3dfa52d1c632
Date: 2013-08-27 16:46 +0100
http://bitbucket.org/pypy/pypy/changeset/3dfa52d1c632/
Log: Defining new classes is fine, just not inside functions/methods.
diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py
--- a/rpython/flowspace/flowcontext.py
+++ b/rpython/flowspace/flowcontext.py
@@ -293,7 +293,7 @@
_unsupported_ops = [
('BINARY_POWER', "a ** b"),
- ('BUILD_CLASS', 'creating new classes'),
+ ('BUILD_CLASS', 'defining classes inside functions'),
('EXEC_STMT', 'exec statement'),
('STOP_CODE', '???'),
('STORE_NAME', 'modifying globals'),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit