[issue15393] JSONDecoder.raw_decode breaks on leading whitespace

Bayard Randel report at bugs.python.org
Mon Sep 12 20:28:29 EDT 2016


Bayard Randel added the comment:

I've provided an updated patch for 3.6. Additionally I've updated the docstring for decoder.raw_decode to explain that whitespace at the beginning of the document will be ignored. I believe the concerns around the backwards incompatible change to the function signature were addressed by aalien's second patch.

----------
nosy: +Bayard Randel
Added file: http://bugs.python.org/file44613/issue15393_3.6.patch

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


More information about the Python-bugs-list mailing list