[pypy-commit] pypy default: Forbid SomeObject there.

arigo noreply at buildbot.pypy.org
Sat Dec 10 18:42:49 CET 2011


Author: Armin Rigo <arigo at tunes.org>
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)
         #


More information about the pypy-commit mailing list