I could try writing small application for reproduce this error. It happens in twisted function twisted.web.client.getPage Or may be i shoud try another version of pypy or twisted ( i use trunk version of twisted ) ?
On Wed, Oct 5, 2011 at 18:57, Max Lavrenov <max.lavre...@gmail.com> wrote: > Hello Amaury > Thanks for response. > > No, i got same error with this line > python --jit threshold=-1 /home/e-max/.virtualenvs/pypy/bin/twistd -n > dalight > > But If i change urlunparse function and try printing date variable before, > all starts work correctly. > > def urlunparse(data): > """Put a parsed URL back together again. This may result in a > slightly different, but equivalent URL, if the URL that was parsed > originally had redundant delimiters, e.g. a ? with an empty query > (the draft states that these are equivalent).""" > print data > > scheme, netloc, url, params, query, fragment = data > if params: > url = "%s;%s" % (url, params) > return urlunsplit((scheme, netloc, url, query, fragment)) > > > On Wed, Oct 5, 2011 at 18:30, Amaury Forgeot d'Arc <amaur...@gmail.com>wrote: > >> 2011/10/5 Max Lavrenov <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? >> >> -- >> Amaury Forgeot d'Arc >> > >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev