On Fri, Nov 2, 2018 at 10:31 AM Philip Martin <philip.martin2...@gmail.com>
wrote:

> [Why don't] csv writer and DictWriter provide ...
> serialization/deserialization hooks?
>

Do you have a specific use-case in mind?

My intuition is that comprehensions provide sufficient functionality such
that changing the csv module interface is unnecessary. Unlike JSON, CSV
files are easy to read in a streaming/iterator fashion, so the module
doesn't need to provide a way to intercept values during a holistic
encode/decode.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to