[pypy-dev] What Causes An Ambiguous low-level helper specialization Error?
Amaury Forgeot d'Arc
amauryfa at gmail.com
Wed Jan 25 19:04:33 CET 2012
Hi,
2012/1/25 Andrew Francis <andrewfr_ice at yahoo.com>
> >
> /home/andrew/pypy-stm/pypy/rpython/lltypesystem/rstr.py(978)do_stringformat()
> -> assert isinstance(r_arg, IntegerRepr)
>
This one is easy: you are formatting a float with %d,
which is not supported by RPython.
For your debug output, use %s instead.
--
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120125/5ba2feac/attachment.html>
More information about the pypy-dev
mailing list