[issue14573] json iterencode can not handle general iterators

Jan Vlcinsky report at bugs.python.org
Thu Apr 12 09:32:09 EDT 2018


Jan Vlcinsky <jan.vlcinsky at tamtamresearch.com> added the comment:

I found proposed change very handy (came here researching why it is not behaving that way).

Taking into account:
- Python shines in handling lists, using generators and iterators
- Largest group of python developers develop web apps, and there it is typical pattern to iterate across many records and return them as long list of dictionaries

I think proposed feature could become very popular.

----------
nosy: +vlcinsky

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue14573>
_______________________________________


More information about the Python-bugs-list mailing list