Message136440
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. |
|
Date |
User |
Action |
Args |
2011-05-21 13:57:27 | pitrou | set | recipients:
+ pitrou, rhettinger, ezio.melotti, docs@python, poq |
2011-05-21 13:57:27 | pitrou | set | messageid: <1305986247.17.0.544389895162.issue12134@psf.upfronthosting.co.za> |
2011-05-21 13:57:26 | pitrou | link | issue12134 messages |
2011-05-21 13:57:26 | pitrou | create | |
|