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

Terry J. Reedy report at bugs.python.org
Fri Jul 29 14:03:20 EDT 2016


Terry J. Reedy added the comment:

I am surprised that dumping to a string and to a file give different answers.  This strikes me as a bug in any case.  I would expect the the main difference would be file.write(chunk) versus temlist.append(chunk).

----------
nosy: +terry.reedy

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


More information about the Python-bugs-list mailing list