Antoine Pitrou <pit...@free.fr> added the comment:

This is indeed the case. And the solution is obvious: call dumps() and then 
write() the result yourself. If dump() used _one_shot=True, it would defeat the 
purpose of minimizing memory consumption by not buffering the whole result.

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, pitrou, rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to