STINNER Victor <[EMAIL PROTECTED]> added the comment: I wrote that I'm unable to fix the bug correctly, but I wrote a patch to avoid the crash: - replace begin by end in error messages: is it correct? - use "end < 0 || len <= end" test to check scanstring() second argument => raise a ValueError if end value is invalid
---------- keywords: +patch Added file: http://bugs.python.org/file10947/_json.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com