File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -552,6 +552,10 @@ Porting to Python 3.11
552552
553553 (Contributed by Victor Stinner in :issue: `39573 `.)
554554
555+ * The ``<Python.h> `` header file no longer includes ``<stdlib.h> ``. C
556+ extensions using ``<stdlib.h> `` must now include it explicitly.
557+ (Contributed by Victor Stinner in :issue: `45434 `.)
558+
555559Deprecated
556560----------
557561
Original file line number Diff line number Diff line change 2525#ifdef HAVE_ERRNO_H
2626# include <errno.h> // errno
2727#endif
28- #include <stdlib.h>
2928#ifndef MS_WINDOWS
3029# include <unistd.h>
3130#endif
Original file line number Diff line number Diff line change 1+ The ``<Python.h> `` header file no longer includes ``<stdlib.h> ``. C
2+ extensions using ``<stdlib.h> `` must now include it explicitly. Patch by
3+ Victor Stinner.
You can’t perform that action at this time.
0 commit comments