Message 299981 - Python tracker

Message299981

Author javenoneal
Recipients javenoneal
Date 2017-08-09.09:23:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502270596.69.0.819927554445.issue31155@psf.upfronthosting.co.za>
In-reply-to
Content
Currently json.dump, json.dumps, and json.JSONEncoder do not support writing iterator objects. Users can choose to pass the iterator to a tuple and write that as a json array, but this is wasteful if the iterator is large, requiring a large amount of memory to be temporarily allocated for the tuple prior to json encoding.

The json module also does not support writing sets, frozensets, or bytearrays.
History
Date User Action Args
2017-08-09 09:23:16javenonealsetrecipients: + javenoneal
2017-08-09 09:23:16javenonealsetmessageid: <1502270596.69.0.819927554445.issue31155@psf.upfronthosting.co.za>
2017-08-09 09:23:16javenoneallinkissue31155 messages
2017-08-09 09:23:16javenonealcreate