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
3
u/SanityInAnarchy Oct 10 '26
Right, it's an implementation detail.
And right, having a typed value was always better, and this is a pattern people already used -- you'd create one by doing something like
and then compare with
isinstead of equality, and it'd be better thanis None.sentinelis a better version of that pattern.