To use this module, you can either import crypt_r explicitly or use the old crypt name for backward compatibility. However, on Python older than 3.13, the crypt module from the standard library will ...
The crypt_r module is a renamed copy of the crypt module as it was present in Python 3.12 before it was removed. See PEP 594 for details of the removal. Note that the improvements in crypt_r over ...