Skip to content

[3.10] bpo-45644: Make json.tool read infile before writing to outfile (GH-29273)#29445

Merged
ambv merged 1 commit into
python:3.10from
miss-islington:backport-815dad4-3.10
Nov 6, 2021
Merged

[3.10] bpo-45644: Make json.tool read infile before writing to outfile (GH-29273)#29445
ambv merged 1 commit into
python:3.10from
miss-islington:backport-815dad4-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 6, 2021

Copy link
Copy Markdown
Contributor

so that

$ python -m json.tool foo.json foo.json

doesn't result in an empty foo.json.

Co-authored-by: Łukasz Langa lukasz@langa.pl
(cherry picked from commit 815dad4)

Co-authored-by: Chris Wesseling chris.wesseling@protonmail.com

https://bugs.python.org/issue45644

…onGH-29273)

so that

$ python -m json.tool foo.json foo.json

doesn't result in an empty foo.json.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 815dad4)

Co-authored-by: Chris Wesseling <chris.wesseling@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants