[issue43728] Change the exception type and message raised when _curses is not found.

Shreyan Avigyan report at bugs.python.org
Mon Apr 5 05:57:07 EDT 2021


Shreyan Avigyan <shreyan.avigyan at gmail.com> added the comment:

What about only changing the error message to make it a little bit informational? Something like :-

ModuleNotFoundError: _curses library not found. Install a supported _curses library to use the curses module.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43728>
_______________________________________


More information about the Python-bugs-list mailing list