On Thu, May 13, 2021 at 4:31 PM Eric V. Smith <[email protected]> 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? - Tal _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KKDZ5TW6WXSQDE2YPOU6X5JXEU264HBS/ Code of Conduct: http://python.org/psf/codeofconduct/
