On 27/03/18 00:00, Etienne Robillard wrote:
Le 2018-03-26 à 13:55, Matti Picus a
écrit :
On 26/03/18 18:33, Etienne Robillard wrote:
The output is: <wsgiref.validate.InputWrapper instance
at 0xb3e1c784>
I also managed to fix this issue by removing the
"1<<16" parameter in self.fp.readline().
Regards,
Etienne
This would fail in the same way on Cpython 2, it is a "feature"
of that method.
In both PyPy and CPython, the interface was changed for python3
to accept a size parameter.
Matti
Sorry, but without my patch I cannot make PyPy 5.9.0 to handle a
POST request.
Could you please suggest any other fix?
Etienne
--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/
Your fix is correct and necessary for python2, both on PyPy and on
CPython. You can run the original code only under python3.
Note that there are two python implementations called PyPy 5.9.0,
one implements python2 and the other implements python3
Matti
|
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev