Serhiy Storchaka added the comment: Patch updated. Tests added. One discrepancy between Python an C versions fixed.
In fact, we can get rid of StopIteration and directly raise ValueError. I don't know what are the functions of StopIteration here, so preserve it. Perhaps the author could explain the details. ---------- keywords: +needs review nosy: +bob.ippolito stage: test needed -> patch review Added file: http://bugs.python.org/file27433/json_errmsg_3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16009> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com