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