Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r50358:969865e9cb30
Date: 2011-12-10 18:42 +0100
http://bitbucket.org/pypy/pypy/changeset/969865e9cb30/

Log:    Forbid SomeObject there.

diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -238,6 +238,7 @@
         t = TranslationContext(config=config)
         self.t = t     # for debugging
         ann = t.buildannotator()
+        ann.policy.allow_someobjects = False
         if func is not None:
             ann.build_types(func, argtypes, complete_now=False)
         #
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to