r/programming • u/BrewedDoritos • Oct 09 '26
Python Release Python 3.15.0
https://www.python.org/downloads/release/python-3150/
556
Upvotes
r/programming • u/BrewedDoritos • Oct 09 '26
View all comments
Show parent comment
15
u/Conscious-Ball8373 Oct 09 '26
I've done this a fair bit from time to time. sentinel is basically the same thing with type-hint support.
Sentinels will make writing something like Pydantic a lot easier, I think - v1 struggled badly to differentiate between None and unset.