[Python-ideas] Change the exception type and message raised when _curses is not found

2021-04-04 Thread Shreyan Avigyan
When importing the curses module, be it on Windows or Darwin or UNIX-based OS or any other platform, if the _curses module is not found then just a ModuleNotFoundError is raised. But this error is not very informational in case of _curses module. Since the curses module is packaged with the Pyth

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-04 Thread 2QdxY4RzWzUUiLuE
On 2021-04-04 at 18:05:12 -, Shreyan Avigyan wrote: > When importing the curses module, be it on Windows or Darwin or > UNIX-based OS or any other platform, if the _curses module is not > found then just a ModuleNotFoundError is raised. But this error is not > very informational in case of _c

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-04 Thread Shreyan Avigyan
OkA CursesNotFoundError derived from ModuleNotFoundError is okNow should a draft PEP be submitted or should a PR be directly submitted to https://github.com/python/cpython? ___ Python-ideas mailing list -- [email protected] To unsubscribe