Steve Dower <[email protected]> added the comment:
That sounds good to me, though you may want to propose the error message here
first so we can get the wording right - probably not everyone will be watching
github PR.
It probably makes sense to raise a different error message on platforms where
we do expect it to have been built - the same confusion could arise there.
Some starting points (that will likely need improvement):
win32: raise ImportError("The crypt module is not supported on Windows")
not win32: raise ImportError("The required _crypt module was not built as part
of CPython")
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue25172>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com