[pypy-dev] strange error in urlunparse
max.lavrenov at gmail.com
Wed Oct 5 16:57:43 CEST 2011
Thanks for response.
No, i got same error with this line
python --jit threshold=-1 /home/e-max/.virtualenvs/pypy/bin/twistd -n
But If i change urlunparse function and try printing date variable before,
all starts work correctly.
"""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)."""
scheme, netloc, url, params, query, fragment = data
url = "%s;%s" % (url, params)
return urlunsplit((scheme, netloc, url, query, fragment))
On Wed, Oct 5, 2011 at 18:30, Amaury Forgeot d'Arc <amauryfa at gmail.com>wrote:
> 2011/10/5 Max Lavrenov <max.lavrenov at 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
> Can you try again with
> pypy --jit threshold=-1
> to completely disable the JIT?
> Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pypy-dev