@trey.ioTrey Hunner @trey.io
2026-11-21 21:01 UTC
Every missing key lookup silently adds the new key with a default value: >>> by_color["mauve"] [] >>> "mauve" in by_color True These READ operations will change the data structure without raising an exception, quietly pretending the key was there all along.
A reply in a thread.
0 likes, 0 reposts, 1 replies
3 Next post4 More from @trey.ioBackBluesky home