Trey Hunner 🐍 on Nostr: Fun news, Python 3.14 will allow "python -m json" as well as "python -m json.tool". ...
Fun news, Python 3.14 will allow "python -m json" as well as "python -m json.tool".
This was my first code contribution to #Python. 🥳
It was a small but slow-rolling change (wrote an article months ago that had me wonder about the need for "json.tool", looked into it, got confirmation and encouragement from core devs that this might make sense to change, and made the change).
https://docs.python.org/3.14/whatsnew/3.14.html#jsonPublished at
2024-08-19 00:46:00Event JSON
{
"id": "6db44fe5d4593501ca6321a8ef2fbb16648f81862819121b10c7540e3799df9e",
"pubkey": "7e9159fbfd5526415c8d2de2e4c7654e3660883f9ccae720a70fa3c1f3cf1f45",
"created_at": 1724028360,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@treyhunner/112985922647089304",
"web"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/treyhunner/statuses/112985922647089304",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/treyhunner/statuses/112985922647089304",
"pink.momostr"
],
[
"-"
]
],
"content": "Fun news, Python 3.14 will allow \"python -m json\" as well as \"python -m json.tool\".\n\nThis was my first code contribution to #Python. 🥳\n\nIt was a small but slow-rolling change (wrote an article months ago that had me wonder about the need for \"json.tool\", looked into it, got confirmation and encouragement from core devs that this might make sense to change, and made the change).\n\nhttps://docs.python.org/3.14/whatsnew/3.14.html#json",
"sig": "8cd4b0608744622f6717880ca1661b0768ef9e9012560ca6d01123ed9b49edf61facb84c15c2733f9e3e7d7551c38f63cf857ec6f0e36b6070ff8de9b8cc4da1"
}