I am glad you like it :) I have been told that this is a very popular improvement. I promise to keep looking for similar things in the future!
Regards from cloudy London, Pablo Galindo Salgado On Fri, 29 Oct 2021, 18:23 Steven D'Aprano, <[email protected]> wrote: > I was using Python 3.10 and got this NameError when I mistyped a name: > > NameError: name 'KeyboardInterrupted' is not defined. Did you mean: > 'KeyboardInterrupt'? > > It even works for attribute errors too. > > That's fantastic! This is a really amazing useability improvement, thank > you everyone who was involved! I literally squeed :-) > > I just may spend a few days deliberately mistyping names in the REPL > just to see this :-) > > > -- > Steve > _______________________________________________ > 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/2CUCVKZ44IYCW5QRV4CMVC7YDYBCJFYG/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ 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/BNXWMJDHBSBLCAMIRM4WY7O2YWXCJR6V/ Code of Conduct: http://python.org/psf/codeofconduct/
