[pypy-dev] sympy fails to import

Ondrej Certik ondrej at certik.cz
Sat Apr 10 21:25:35 CEST 2010


On Sat, Apr 10, 2010 at 11:57 AM, Benjamin Peterson <benjamin at python.org> wrote:
> 2010/4/10 Ondrej Certik <ondrej at certik.cz>:
>> Hi,
> Hi
>
>>    if hasattr(i, "__iter__"):
>> RuntimeError: internal error: <RuntimeError object at 0x868c778>
>
> Your code is probably assuming that strings don't have __iter__. They
> do in PyPy.

That could be it. I'll investigate it and report later.

Thanks for the tip.

Ondrej



More information about the Pypy-dev mailing list