Python 3.15 introduces a new built-in `sentinel()` function for creating sentinel values. Previously, developers used `object()` as a workaround, but this approach and other common sentinel idioms have known shortcomings. PEP 661 documents the motivation behind the new built-in and the problems it solves.
Sort: