I have two failures with translation that I need some help with on the
unicode-utf8-py3 branch.
Occasionally while translating the branch locally, I get an error
[translation:ERROR] UnsupportedFieldExc: unexpected array(struct(struct))
[translation] start debugger...
>
/home/matti/pypy_stuff/pypy_35/rpython/jit/codewriter/heaptracker.py(111)all_interiorfielddescrs()
-> raise UnsupportedFieldExc("unexpected array(struct(struct))")
I can get to the offending struct
<GcArray of utf8_loc_elem { baseindex: Signed, ofs: FixedSizeArray of 16
Char } >
The struct is from rpython/rlib/rutf8.py:
UTF8_INDEX_STORAGE = lltype.GcArray(lltype.Struct('utf8_loc_elem',
('baseindex', lltype.Signed),
('ofs', lltype.FixedSizeArray(lltype.Char, 16)),
))
and is returned from the function create_utf8_index_storage which is
called in that file as well as in objspace/std/unicodeobject.py
I put more of the error messsage and the code bits in this gist
https://gist.github.com/mattip/057554dd7eba64f8cbf2bc1a70c1c6eb
The second strange failure is of a own z_translation test
http://buildbot.pypy.org/summary/longrepr?testname=test__codecs_translates&builder=own-linux-x86-64&build=6944&mod=pypy.module._codecs.test.test_ztranslation
Any help would be welcome.
Matti
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev