Message349114
What is the recommended way to check for platform in cpython? Is it using the sys module or os module? As for the error messages I couldn't think of anything better then what you suggested :).
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") |
|
Date |
User |
Action |
Args |
2019-08-06 16:53:33 | shireenrao | set | recipients:
+ shireenrao, terry.reedy, paul.moore, jafo, tim.golden, zach.ware, steve.dower |
2019-08-06 16:53:33 | shireenrao | set | messageid: <1565110413.9.0.672558858157.issue25172@roundup.psfhosted.org> |
2019-08-06 16:53:33 | shireenrao | link | issue25172 messages |
2019-08-06 16:53:33 | shireenrao | create | |
|