@@ -1178,17 +1178,6 @@ Porting to Python 3.13
1178
1178
also the ``HAVE_IEEEFP_H `` macro.
1179
1179
(Contributed by Victor Stinner in :gh: `108765 `.)
1180
1180
1181
- * ``Python.h `` no longer includes the ``<unistd.h> `` standard header file. If
1182
- needed, it should now be included explicitly. For example, it provides the
1183
- functions: ``read() ``, ``write() ``, ``close() ``, ``isatty() ``, ``lseek() ``,
1184
- ``getpid() ``, ``getcwd() ``, ``sysconf() ``, ``getpagesize() ``, ``alarm() `` and
1185
- ``pause() ``.
1186
- As a consequence, ``_POSIX_SEMAPHORES `` and ``_POSIX_THREADS `` macros are no
1187
- longer defined by ``Python.h ``. The ``HAVE_UNISTD_H `` and ``HAVE_PTHREAD_H ``
1188
- macros defined by ``Python.h `` can be used to decide if ``<unistd.h> `` and
1189
- ``<pthread.h> `` header files can be included.
1190
- (Contributed by Victor Stinner in :gh: `108765 `.)
1191
-
1192
1181
* ``Python.h `` no longer includes these standard header files: ``<time.h> ``,
1193
1182
``<sys/select.h> `` and ``<sys/time.h> ``. If needed, they should now be
1194
1183
included explicitly. For example, ``<time.h> `` provides the ``clock() `` and
@@ -1197,13 +1186,6 @@ Porting to Python 3.13
1197
1186
and ``setitimer() `` functions.
1198
1187
(Contributed by Victor Stinner in :gh: `108765 `.)
1199
1188
1200
- * ``Python.h `` no longer includes the ``<ctype.h> `` standard header file. If
1201
- needed, it should now be included explicitly. For example, it provides
1202
- ``isalpha() `` and ``tolower() `` functions which are locale dependent. Python
1203
- provides locale independent functions, like :c:func: `!Py_ISALPHA ` and
1204
- :c:func: `!Py_TOLOWER `.
1205
- (Contributed by Victor Stinner in :gh: `108765 `.)
1206
-
1207
1189
* If the :c:macro: `Py_LIMITED_API ` macro is defined, :c:macro: `!Py_BUILD_CORE `,
1208
1190
:c:macro: `!Py_BUILD_CORE_BUILTIN ` and :c:macro: `!Py_BUILD_CORE_MODULE ` macros
1209
1191
are now undefined by ``<Python.h> ``.
0 commit comments