File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -915,6 +915,11 @@ New Features
915915Porting to Python 3.13
916916----------------------
917917
918+ * ``Python.h `` no longer includes the ``<ieeefp.h> `` standard header. It was
919+ included for the ``finite() `` function which is now provided by the
920+ ``<math.h> `` header. It should now be included explicitly if needed.
921+ (Contributed by Victor Stinner in :gh: `108765 `.)
922+
918923Deprecated
919924----------
920925
Original file line number Diff line number Diff line change 3333#endif
3434
3535#include <assert.h> // assert()
36+ #include <math.h> // HUGE_VAL
3637#include <wchar.h> // wchar_t
3738
3839#include "pyport.h"
Original file line number Diff line number Diff line change @@ -189,12 +189,6 @@ typedef Py_ssize_t Py_ssize_clean_t;
189189# define Py_MEMCPY memcpy
190190#endif
191191
192- #ifdef HAVE_IEEEFP_H
193- #include < ieeefp.h> /* needed for 'finite' declaration on some platforms */
194- #endif
195-
196- #include < math.h> /* Moved here from the math section, before extern "C" */
197-
198192/* *******************************************
199193 * WRAPPER FOR <time.h> and/or <sys/time.h> *
200194 ********************************************/
Original file line number Diff line number Diff line change 1+ ``Python.h `` no longer includes the ``<ieeefp.h> `` standard header. It was
2+ included for the ``finite() `` function which is now provided by the
3+ ``<math.h> `` header. It should now be included explicitly if needed. Patch
4+ by Victor Stinner.
You can’t perform that action at this time.
0 commit comments