Grigory Statsenko added the comment: With streaming you never know the real length before you're done iterating.
Anyway, the fix really shouldn't be that complicated: In _iterencode_list just yield the '[' instead of saving it to buf ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27613> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com