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 steve.dower
Recipients jafo, paul.moore, shireenrao, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2019-08-06.15:17:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565104626.51.0.845125080308.issue25172@roundup.psfhosted.org>
In-reply-to
Content
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")
History
Date User Action Args
2019-08-06 15:17:06steve.dowersetrecipients: + steve.dower, terry.reedy, paul.moore, jafo, tim.golden, zach.ware, shireenrao
2019-08-06 15:17:06steve.dowersetmessageid: <1565104626.51.0.845125080308.issue25172@roundup.psfhosted.org>
2019-08-06 15:17:06steve.dowerlinkissue25172 messages
2019-08-06 15:17:06steve.dowercreate