[pypy-dev] base class hierarchy for string objects breaks translation
wlavrijsen at lbl.gov
wlavrijsen at lbl.gov
Wed Mar 14 17:53:30 CET 2012
Hi,
the new "mixin" base classes for the new W_StringObject hierarchy are
missing a "_mixin_=True" statement, leading to the error message below.
I added those statements (also needed in the mixin base class), but that
still was not enough to get the translation much further.
Ideas, fix?
Thanks,
Wim
[translation:ERROR] File "/home/wlav/pypy-dev/pypy/pypy/annotation/description.py", line 422, in __init__
[translation:ERROR] "with _mixin_: %r" % (cls,))
[translation:ERROR] AssertionError: multiple inheritance only supported with _mixin_: <class 'pypy.objspace.std.stringobject.W_StringObject'>
[translation:ERROR] Processing block:
[translation:ERROR] codeless block is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'>
[translation:ERROR] in (<ann_override.wrap>:1)wrap__str_bad_argument_type_for_built_in_operation
[translation:ERROR] containing the following operations:
[translation:ERROR] --end--
--
WLavrijsen at lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net
More information about the pypy-dev
mailing list