Message228166
| Author |
Zectbumo |
| Recipients |
Aaron.Staley, Zectbumo, eric.araujo, ezio.melotti, pitrou, rhettinger |
| Date |
2014年10月02日.06:46:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412232370.05.0.900244623666.issue14573@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Need a patch? Here you go.
https://github.com/Zectbumo/cpython/compare/master
How to use it:
encoder = JSONEncoder(stream=True)
This will iterencode() iterators as lists and file objects as strings and stream them when constructed with stream=True. |
|