-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyfpe.h: Exclude PyFPE_START_PROTECT and PyFPE_END_PROTECT from the Py_LIMITED_API #83016
Comments
The bpo-29137 removed the fpectl module. But two macros were kept in pyfpe.h: /* These macros used to do something when Python was built with --with-fpectl,
#define PyFPE_START_PROTECT(err_string, leave_stmt)
#define PyFPE_END_PROTECT(v) I propose to exclude them from the stable API. Maybe at least exclude them from the stable API >= 3.9? commit 735ae8d
|
Python/pyfpe.c still contains two variables (PyFPE_jbuf and PyFPE_counter) and one function (PyFPE_dummy) for ABI compatibility:
#include "setjmp.h"
jmp_buf PyFPE_jbuf;
int PyFPE_counter;
double
PyFPE_dummy(void *dummy)
{
return 1.0;
} |
Pablo asked on PR 17231:
I replied:
In short, I'm not interested to remove it right now :-) The initial issue has been fixed, so I close the issue. Thanks for your review Pablo ;-) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: