Hi Arno,

On Mon, Aug 31, 2015 at 11:54 AM, Arno Waschk <hamama...@gmx.de> wrote:
> i have a problem with pypy's csv module.
>
> Apart from it being somewhat slower than cPython's (i could live with that)
> i am getting rarely but annoyingly corrupted files written, which have some
> single corrupted lines.

We'll be waiting for a reproducible example to debug that.  In the
meantime, well, by trying hard enough you can indeed use CPython's
implementation of the csv module.  It is going to be very, very,
*extremely* slow (because a huge number of objects have to cross the
barrier to CPython land).  But if you want, you can try to copy from
CPython's source code the file Module/_csv.c, write a small setup.py,
and compile it with "pypy setup.py build".


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to