updated for version 7.3.907
Problem:    Python uses IndexError when a dict key is not found.
Solution:   Use KeyError instead. (ZyX)
diff --git a/src/if_py_both.h b/src/if_py_both.h
index f5617ac..cd80800 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -861,7 +861,7 @@
 
     if (di == NULL)
     {
-	PyErr_SetString(PyExc_IndexError, _("no such key in dictionary"));
+	PyErr_SetString(PyExc_KeyError, _("no such key in dictionary"));
 	return NULL;
     }