Author: Armin Rigo <ar...@tunes.org>
Branch: kill-someobject
Changeset: r57815:92afff50badd
Date: 2012-10-07 15:39 +0200
http://bitbucket.org/pypy/pypy/changeset/92afff50badd/

Log:    Bah, nonsense. Re-add 'knowntype=object' and be done.

diff --git a/pypy/annotation/model.py b/pypy/annotation/model.py
--- a/pypy/annotation/model.py
+++ b/pypy/annotation/model.py
@@ -47,6 +47,7 @@
     for an arbitrary object about which nothing is known."""
     __metaclass__ = extendabletype
     immutable = False
+    knowntype = object
 
     def __init__(self):
         assert type(self) is not SomeObject
@@ -505,7 +506,6 @@
 
 class SomeAddress(SomeObject):
     immutable = True
-    knowntype = llmemory.Address
 
     def can_be_none(self):
         return False
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to