Hi Antonio
You were right, with --jit off project works just fine.
I will post simple project to reproduce this bug tomorrow.

Best regards,
Max

On Wed, Oct 5, 2011 at 22:36, Antonio Cuni <anto.c...@gmail.com> wrote:

> On 05/10/11 16:30, Amaury Forgeot d'Arc wrote:
>
>> 2011/10/5 Max Lavrenov<max.lavrenov@gmail.**com <max.lavre...@gmail.com>
>> >:
>>
>>> after ~500 successfull responses i am starting to get error on line "if
>>> params"
>>>
>>
>> Looks like a JIT error to me, which has a default threshold of 1000
>> iterations.
>> Can you try again with
>>     pypy --jit threshold=-1
>> to completely disable the JIT?
>>
>
> --jit threshold=-1 only disables the jit for loops, but it will still
> compile functions.
>
> To completely disable the jit you should use --jit off.
>
> Max, could you please try again with --jit off?
> Your problems reminds me of a bug that I encountered ~1 year ago:
> UnboundLocalError which disappears if I print it.
>
> I don't remember the details, but in that case it was a bug in the JIT.
>
> ciao,
> Anto
>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to