Why isn't crypt.py in Win32 Python distribution?

Tim Peters tim.one at home.com
Fri Jan 26 02:42:55 EST 2001


[Dan Rolander]
> Just curious. Why isn't crypt.py included in the standard python
> distribution for Windows?

There's no crypt.py in any distribution of Python.  There's a C module,
cryptmodule.c, which is not compiled on Windows, because it relies on a
non-standard external C function

    extern char * crypt(const char *, const char *);

that comes with Unix C libraries but is not supplied by Microsoft's C
runtime.  So the only way it will ever show up on Windows is if someone
contributes an unencumbered Windows implementation.





More information about the Python-list mailing list