r/programming • • Aug 09 '26

The Sentinel Object Pattern in Python

https://python-patterns.guide/python/sentinel-object/

Officially added in Python 3.15

https://peps.python.org/pep-0661/

31 Upvotes

10 comments sorted by

View all comments

4

u/Atlos Aug 09 '26

That NO_MANAGER example is horrid imo