summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-11-20 01:51:30 (GMT)
committerGitHub <noreply@github.com>2019-11-20 01:51:30 (GMT)
commitbe143ec99674ba38c5811f34cdb85ef39c2dc8f8 (patch)
treefb6f916b483c7dd7506d92899604cd17a4344e0d /Modules/_tkinter.c
parent01b1cc12e7c6a3d6a3d27ba7c731687d57aae92a (diff)
downloadcpython-be143ec99674ba38c5811f34cdb85ef39c2dc8f8.zip
cpython-be143ec99674ba38c5811f34cdb85ef39c2dc8f8.tar.gz
cpython-be143ec99674ba38c5811f34cdb85ef39c2dc8f8.tar.bz2
bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231)
The PyFPE_START_PROTECT() and PyFPE_END_PROTECT() macros are empty: they have been doing nothing for the last year (since commit 735ae8d139a673b30b321dc10acfd3d14f0d633b), so stop using them.
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 40d2ed7..4f7d1b7 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -2166,11 +2166,9 @@ _tkinter_tkapp_exprdouble_impl(TkappObject *self, const char *s)
CHECK_STRING_LENGTH(s);
CHECK_TCL_APPARTMENT;
- PyFPE_START_PROTECT("Tkapp_ExprDouble", return 0)
ENTER_TCL
retval = Tcl_ExprDouble(Tkapp_Interp(self), s, &v);
ENTER_OVERLAP
- PyFPE_END_PROTECT(retval)
if (retval == TCL_ERROR)
res = Tkinter_Error(self);
else