updated for version 7.3.1229
Problem:    Python: not so easy to delete/restore translating.
Solution:   Make macros do translation of exception messages. (ZyX)
            Note: this breaks translations!
diff --git a/src/if_python3.c b/src/if_python3.c
index 9052e41..7155bc1 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -1169,7 +1169,7 @@
     }
     else
     {
-	PyErr_SetString(PyExc_TypeError, _("index must be int or slice"));
+	PyErr_SET_STRING(PyExc_TypeError, "index must be int or slice");
 	return NULL;
     }
 }
@@ -1203,7 +1203,7 @@
     }
     else
     {
-	PyErr_SetString(PyExc_TypeError, _("index must be int or slice"));
+	PyErr_SET_STRING(PyExc_TypeError, "index must be int or slice");
 	return -1;
     }
 }
@@ -1285,7 +1285,7 @@
     }
     else
     {
-	PyErr_SetString(PyExc_TypeError, _("index must be int or slice"));
+	PyErr_SET_STRING(PyExc_TypeError, "index must be int or slice");
 	return NULL;
     }
 }
@@ -1312,7 +1312,7 @@
     }
     else
     {
-	PyErr_SetString(PyExc_TypeError, _("index must be int or slice"));
+	PyErr_SET_STRING(PyExc_TypeError, "index must be int or slice");
 	return -1;
     }
 }
@@ -1491,7 +1491,7 @@
     }
     else
     {
-	PyErr_SetString(PyExc_TypeError, _("index must be int or slice"));
+	PyErr_SET_STRING(PyExc_TypeError, "index must be int or slice");
 	return NULL;
     }
 }
@@ -1515,7 +1515,7 @@
     }
     else
     {
-	PyErr_SetString(PyExc_TypeError, _("index must be int or slice"));
+	PyErr_SET_STRING(PyExc_TypeError, "index must be int or slice");
 	return -1;
     }
 }