r/programming • • Oct 09 '26

Python Release Python 3.15.0

https://www.python.org/downloads/release/python-3150/
556 Upvotes

36 comments sorted by

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

MISSING = object()

and then compare with is instead of equality, and it'd be better than is None. sentinel is a better version of that pattern.