[issue44751] crypt.h should be in _cryptmodule.c, not in public header

STINNER Victor report at bugs.python.org
Wed Sep 29 19:04:11 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

> Could you backport this fix to at least 3.9 and 3.10 branches?

Done.

> This is fix for regression which was previously backported to 2.7 and 3.6 branches.

I'm not sure what you mean.

In Python 2.7 and Python 3.6, <crypt.h> was already included by Include/Python.h:

#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44751>
_______________________________________


More information about the Python-bugs-list mailing list