| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…8-58-10.gh-issue-125660.sDdDqO.rst
There was a problem hiding this comment.
Sorry, something went wrong.
After further consideration, I do consider this to be a clear bug fix, which should be backported to versions in "bugfix" status (i.e. 3.12). |
Sorry, something went wrong.
|
Are you sure? I'm not certain what policy PyPy, IronPython, Jython, etc. have for changes that we backport, but point of pure-Python modules was almost exclusively for other Python implementations--I don't want to accidentally cause any surprises. |
Sorry, something went wrong.
No, I am not sure, I've been away from Python development for several years. It would be good to get another core dev's perspective. |
Sorry, something went wrong.
|
Upon further consideration, yes, the chance of breaking something with a backport is large relative to the likely pain caused by the current, buggy, state. Let's avoid backporting. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. 👍
Sorry, something went wrong.
|
This is clearly a bug. json.loads() can be a part of validation. If it accepts an invalid JSON, it can fail later, in other program with more strict JSON parser. I do not think that anybody depends on such buggy behavior. |
Sorry, something went wrong.
|
Thanks @nineteendo for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, something went wrong.
…tion of JSON decoder (pythonGH-125683) (cherry picked from commit df75136) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
…tion of JSON decoder (pythonGH-125683) (cherry picked from commit df75136) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
|
GH-125694 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
GH-125695 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
…tion of JSON decoder (pythonGH-125683)
| Back | FazBrowse Home | New Git URL |
This condition in json.decoder is insufficient:
cpython/Lib/json/decoder.py
Line 61 in f203d1c