On Fri, Nov 2, 2018 at 10:31 AM Philip Martin <philip.martin2007@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.