Skip to content

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

Merged
ambv merged 1 commit intopython:3.9from
miss-islington:backport-815dad4-3.9
Nov 6, 2021
Merged

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

Conversation

@miss-islington
Copy link
Contributor

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

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>
@miss-islington
Copy link
Contributor Author

@CharString and @ambv: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@CharString and @ambv: Status check is done, and it's a success ✅ .

@CharString
Copy link
Contributor

@ambv Thanks for writing the news.

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