File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -915,6 +915,11 @@ New Features
915
915
Porting to Python 3.13
916
916
----------------------
917
917
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
+
918
923
Deprecated
919
924
----------
920
925
Original file line number Diff line number Diff line change 33
33
#endif
34
34
35
35
#include <assert.h> // assert()
36
+ #include <math.h> // HUGE_VAL
36
37
#include <wchar.h> // wchar_t
37
38
38
39
#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;
189
189
# define Py_MEMCPY memcpy
190
190
#endif
191
191
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
-
198
192
/* *******************************************
199
193
* WRAPPER FOR <time.h> and/or <sys/time.h> *
200
194
********************************************/
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