diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-06 18:01:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 18:01:44 (GMT) |
commit | a932631890d148444e5f9b09f4b57305475d6386 (patch) | |
tree | 64028590f7c733b8b7cdf88b63fade28a5782e41 /Objects | |
parent | 5017306c8732b3ceda878db13088f8c2cf0c5e71 (diff) | |
download | cpython-a932631890d148444e5f9b09f4b57305475d6386.zip cpython-a932631890d148444e5f9b09f4b57305475d6386.tar.gz cpython-a932631890d148444e5f9b09f4b57305475d6386.tar.bz2 |
bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) (GH-29446)
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 815dad42d53fc40a6dc057e067f4a8a885c3b858)
Co-authored-by: Chris Wesseling <chris.wesseling@protonmail.com>
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions