Message 270346 - Python tracker (original) (raw)

Oh. I missed the django recipe to implement "streaming csv". It uses an Echo object, its write() method returns its parameter.

This recipe looks like an abuse of the API, but I understand that there is a need for a kind of "partial write": give control to I/O to the caller.

Maybe we should extend the API?