@mathspp.comRodrigo Girão Serrão 🐍🚀 @mathspp.com
2026-10-15 09:24 UTC
New built-in `sentinel` bsky.app/profile/did:...
Quoting @mathspp.com: What do you do when you can't use `None` as the default? You can use `object()`... Or a singleton class... Or another workaround... And all these hacks had flaws. That's why Python 3.15 introduced the built-in `sentinel`. You can use it to…
A reply in a thread.
0 likes, 0 reposts, 0 replies
3 Next post4 More from @mathspp.comBackBluesky home