[issue27613] Empty iterator is rendered as a single bracket ] when using json's iterencode

Grigory Statsenko report at bugs.python.org
Mon Jul 25 08:16:28 EDT 2016


Grigory Statsenko added the comment:

Actually, it does work with len = 0
even if the iterator is not empty. So, I guess that is a solution.
But still, I think the more correct way would be to make it work with > 0

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27613>
_______________________________________


More information about the Python-bugs-list mailing list