This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients BTaskaya, james, pablogsal, serhiy.storchaka, vstinner, xtreak, yselivanov
Date 2019-10-28.11:24:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572261884.33.0.850677583814.issue38530@roundup.psfhosted.org>
In-reply-to
Content
> By the way, does IPython have a feature like this?

Not that I know of.

> In short, https://github.com/SylvainDe/DidYouMean-Python seems to already implement this issue in the proper way, no?

I briefly checked the project. My current approach exposes the object and the name directly on the exception, so the display hook can directly using them instead of fiddling with frames and other things.

Additionally, I think it would be very beneficial to have it in the core, as many people learning python for example cannot install packages.
History
Date User Action Args
2019-10-28 11:24:44pablogsalsetrecipients: + pablogsal, vstinner, serhiy.storchaka, yselivanov, james, xtreak, BTaskaya
2019-10-28 11:24:44pablogsalsetmessageid: <1572261884.33.0.850677583814.issue38530@roundup.psfhosted.org>
2019-10-28 11:24:44pablogsallinkissue38530 messages
2019-10-28 11:24:44pablogsalcreate