I could try writing small application for reproduce this error.  It happens in twisted function twisted.web.client.getPage <br>Or may be i shoud try another version of pypy or twisted ( i use trunk version of twisted ) ?<br>
<br><div class="gmail_quote">On Wed, Oct 5, 2011 at 18:57, Max Lavrenov <span dir="ltr">&lt;<a href="mailto:max.lavrenov@gmail.com">max.lavrenov@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello Amaury<br>Thanks for response.<br><br>No, i got same error with this line  <br>python --jit threshold=-1  /home/e-max/.virtualenvs/pypy/bin/twistd -n dalight<br><br>But If i change urlunparse function and try printing date variable before, all starts work correctly. <br>
<div class="im">
<br>def urlunparse(data):<br>    &quot;&quot;&quot;Put a parsed URL back together again.  This may result in a<br>    slightly different, but equivalent URL, if the URL that was parsed<br>    originally had redundant delimiters, e.g. a ? with an empty query<br>

    (the draft states that these are equivalent).&quot;&quot;&quot;<br></div>    print data<div class="im"><br>    scheme, netloc, url, params, query, fragment = data<br>    if params:<br>        url = &quot;%s;%s&quot; % (url, params)<br>
    return urlunsplit((scheme, netloc, url, query, fragment))<br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Wed, Oct 5, 2011 at 18:30, Amaury Forgeot d&#39;Arc <span dir="ltr">&lt;<a href="mailto:amauryfa@gmail.com" target="_blank">amauryfa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2011/10/5 Max Lavrenov &lt;<a href="mailto:max.lavrenov@gmail.com" target="_blank">max.lavrenov@gmail.com</a>&gt;:<br>
<div>&gt; after ~500 successfull responses i am starting to get error on line &quot;if<br>
&gt; params&quot;<br>
<br>
</div>Looks like a JIT error to me, which has a default threshold of 1000 iterations.<br>
Can you try again with<br>
    pypy --jit threshold=-1<br>
to completely disable the JIT?<br>
<font color="#888888"><br>
--<br>
Amaury Forgeot d&#39;Arc<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>