[pypy-svn] r12390 - pypy/dist/pypy/annotation

pedronis at codespeak.net pedronis at codespeak.net
Mon May 16 21:18:21 CEST 2005


Author: pedronis
Date: Mon May 16 21:18:21 2005
New Revision: 12390

Modified:
   pypy/dist/pypy/annotation/binaryop.py
Log:
remove the assert, we need be more careful



Modified: pypy/dist/pypy/annotation/binaryop.py
==============================================================================
--- pypy/dist/pypy/annotation/binaryop.py	(original)
+++ pypy/dist/pypy/annotation/binaryop.py	Mon May 16 21:18:21 2005
@@ -381,8 +381,6 @@
         if basedef is None:
             # print warning?
             return SomeObject()
-        assert '_specialize_' not in basedef.cls.__dict__, (
-            "instance union degenerating to unspecialized version: %s" %  basedef)
         return SomeInstance(basedef, can_be_None=ins1.can_be_None or ins2.can_be_None)
 
 class __extend__(pairtype(SomeIterator, SomeIterator)):



More information about the Pypy-commit mailing list