[pypy-commit] pypy missing-ndarray-attributes: Backed out changeset: 17baab38318a - not related to this branch

mattip noreply at buildbot.pypy.org
Mon Feb 4 22:13:06 CET 2013


Author: mattip <matti.picus at gmail.com>
Branch: missing-ndarray-attributes
Changeset: r60878:f107e08335aa
Date: 2013-02-04 23:12 +0200
http://bitbucket.org/pypy/pypy/changeset/f107e08335aa/

Log:	Backed out changeset: 17baab38318a - not related to this branch

diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py
--- a/rpython/annotator/bookkeeper.py
+++ b/rpython/annotator/bookkeeper.py
@@ -447,9 +447,9 @@
             if (x is type(None) or      # add cases here if needed
                 x.__module__ == 'rpython.rtyper.lltypesystem.lltype'):
                 result = SomeType()
-            elif x.__dict__.get('_mixin_', False):
-                raise Exception("Creating a PBC of a mixin class is "
-                        "not RPython for class %r" % x)
+            #elif x.__dict__.get('_mixin_', False):
+            #    raise Exception("Creating a PBC of a mixin class is "
+            #            "not RPython for class %r" % x)
             else:
                 result = SomePBC([self.getdesc(x)])
         elif callable(x):


More information about the pypy-commit mailing list