diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-06 18:01:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 18:01:17 (GMT) |
commit | 6603f6b5bdf0ed164bad4eb432619da2e95fb518 (patch) | |
tree | 5235ee34b728843a4f24a1673e5194d023f18765 /Python/getplatform.c | |
parent | 804ea41211b042fa20c3cd8c0457bbfa3873128a (diff) | |
download | cpython-6603f6b5bdf0ed164bad4eb432619da2e95fb518.zip cpython-6603f6b5bdf0ed164bad4eb432619da2e95fb518.tar.gz cpython-6603f6b5bdf0ed164bad4eb432619da2e95fb518.tar.bz2 |
bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) (GH-29445)
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 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions