FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-137821: Fix wrongly tested json.decoder.scanstring by corona10 · Pull Request #140782 · python/cpython · GitHub

/ cpython Public

[3.14] gh-137821: Fix wrongly tested json.decoder.scanstring - #140782

Merged
corona10 merged 1 commit into
python:3.14from
corona10:gh-137821-3.14
Oct 30, 2025
Merged

[3.14] gh-137821: Fix wrongly tested json.decoder.scanstring#140782
corona10 merged 1 commit into
python:3.14from
corona10:gh-137821-3.14

Conversation

corona10 commented Oct 30, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

bedevere-app Bot added the tests Tests in the Lib/test dir label Oct 30, 2025
corona10 requested a review from hugovk October 30, 2025 10:11
corona10 self-assigned this Oct 30, 2025

corona10 commented Oct 30, 2025
edited
Loading

Copy link
Copy Markdown
Member Author

@hugovk It was detected from #140780 (comment)

Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
>>> json.decoder.scanstring(b"xxx", 10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: first argument must be a string, not bytes

corona10 merged commit 064e989 into python:3.14 Oct 30, 2025
51 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL