06.09.21 18:42, Chris Angelico пише: > On Tue, Sep 7, 2021 at 1:36 AM Finn Mason <finnjavie...@gmail.com> wrote: >> Thank you for testing that. I dug through the change log, and found >> bpo-12022: >> https://bugs.python.org/issue12022 >> It has been fixed in 3.11, but not mentioned in the What's New document. >> Should it be? > > If it was indeed a side effect of that change, then there *is* a > What's New entry about it, but it's focusing on other changes:
"TypeError: __enter__" would look silly. Minor changes in error messages and docstrings are not worth mentioning in What's New. And changing the type of exception outweigh a change in error message. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WTGGVCV53ZDBWFDYKTBU7RILEC7B3T3D/ Code of Conduct: http://python.org/psf/codeofconduct/