Message136440
| 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: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 |
|