This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients docs@python, ezio.melotti, pitrou, poq, rhettinger
Date 2011-05-21.13:57:26
SpamBayes Score 4.51055e-05
Marked as misclassified No
Message-id <1305986247.17.0.544389895162.issue12134@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-05-21 13:57:27pitrousetrecipients: + pitrou, rhettinger, ezio.melotti, docs@python, poq
2011-05-21 13:57:27pitrousetmessageid: <1305986247.17.0.544389895162.issue12134@psf.upfronthosting.co.za>
2011-05-21 13:57:26pitroulinkissue12134 messages
2011-05-21 13:57:26pitroucreate