summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-02 14:50:18 (GMT)
committerGitHub <noreply@github.com>2023-09-02 14:50:18 (GMT)
commit594b00057e667e0d8d4e41748be056cdd829e919 (patch)
treeb970b7d385d30e9bb423a30bc3029cc94fe4ca4b /Misc/NEWS.d
parent4f9b706c6f5d4422a398146bfd011daedaef1851 (diff)
downloadcpython-594b00057e667e0d8d4e41748be056cdd829e919.zip
cpython-594b00057e667e0d8d4e41748be056cdd829e919.tar.gz
cpython-594b00057e667e0d8d4e41748be056cdd829e919.tar.bz2
gh-108765: Python.h no longer includes <unistd.h> (#108783)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/C API/2023-09-01-21-10-29.gh-issue-108765.eeXtYF.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-09-01-21-10-29.gh-issue-108765.eeXtYF.rst b/Misc/NEWS.d/next/C API/2023-09-01-21-10-29.gh-issue-108765.eeXtYF.rst
new file mode 100644
index 0000000..ff8f799
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-09-01-21-10-29.gh-issue-108765.eeXtYF.rst
@@ -0,0 +1,4 @@
+``Python.h`` no longer includes the ``<unistd.h>`` standard header file. If
+needed, it should now be included explicitly. For example, it provides the
+functions: ``close()``, ``getpagesize()``, ``getpid()`` and ``sysconf()``.
+Patch by Victor Stinner.