File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,10 @@ Build and C API Changes
226
226
and refers to a constant string.
227
227
(Contributed by Serhiy Storchaka in :issue: `38650 `.)
228
228
229
+ * Exclude ``PyFPE_START_PROTECT() `` and ``PyFPE_END_PROTECT() `` macros of
230
+ ``pyfpe.h `` from ``Py_LIMITED_API `` (stable API).
231
+ (Contributed by Victor Stinner in :issue: `38835 `.)
232
+
229
233
230
234
Deprecated
231
235
==========
Original file line number Diff line number Diff line change 1
1
#ifndef Py_PYFPE_H
2
2
#define Py_PYFPE_H
3
+ /* Header excluded from the stable API */
4
+ #ifndef Py_LIMITED_API
3
5
4
6
/* These macros used to do something when Python was built with --with-fpectl,
5
7
* but support for that was dropped in 3.7. We continue to define them though,
9
11
#define PyFPE_START_PROTECT (err_string , leave_stmt )
10
12
#define PyFPE_END_PROTECT (v )
11
13
14
+ #endif /* !defined(Py_LIMITED_API) */
12
15
#endif /* !Py_PYFPE_H */
Original file line number Diff line number Diff line change
1
+ Exclude ``PyFPE_START_PROTECT() `` and ``PyFPE_END_PROTECT() `` macros of
2
+ ``pyfpe.h `` from ``Py_LIMITED_API `` (stable API).
You can’t perform that action at this time.
0 commit comments