On Fri, May 21, 2021 at 5:33 PM Luciano Ramalho luciano@ramalho.org wrote:
For the hard cases, I will read the upcoming 46-page "PEP 973: Parameterized Sentinel Factory Factory API" ;-)
I put up an early draft of a PEP on a branch in the PEPs repo: https://github.com/python/peps/blob/sentinels/pep-9999.rst
(Note: This link will break once the temporary branch is deleted.)
I wrote it to summarize the discussions, organize my thoughts and explore the options. I stopped working on it late at night and sent a link to a few people to get some opinions. I didn’t intend to make it public yet, but it was noticed and replied to on the discuss.python.org thread where I put up the poll [1], so the cat is out of the proverbial bag now…
Luciano, your wish is granted! ;) - Tal Einat
[1] https://discuss.python.org/t/sentinel-values-in-the-stdlib/8810/