Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

ModuleNotFoundError is the correct exception. Its purpose is to be raised for 
missed modules.

I do not know about macOS, but the curses module is not supported on Windows, 
so it is expected to get ModuleNotFoundError.

Some distributions can provide some stdlib modules (like tkinter, or distutils, 
or tests) as separate packages.

----------
nosy: +brett.cannon, eric.snow, ncoghlan, ned.deily, ronaldoussoren, 
serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43728>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to