On Thu, May 13, 2021 at 4:31 PM Eric V. Smith email@example.com wrote:
I do think a python-wide standard for this would be helpful, but I don't see how to change existing code given backward compatibility constraints.
While we're on the subject, these sentinels also don't compare properly using `is` after pickling and unpickling.
I think it's worth considering making the sentinels in the stdlib all have good reprs and support pickling+unpickling.
What would be the potential backwards-compatibility issues with changing the implementation of these existing sentinel values?