--- MySQL-python-1.2.0/_mysql.c	2005-02-08 02:00:54.000000000 +0100
+++ MySQL-python-1.2.0-mj/_mysql.c	2005-06-16 02:44:56.000000000 +0200
@@ -995,8 +995,18 @@
 	Py_DECREF(itemtype);
 	if (!itemconv) {
 		PyErr_Clear();
-		itemconv = PyObject_GetItem(d,
-				 (PyObject *) &PyString_Type);
+/*
+	17.06.2005, mJ
+	use dict converter for all mappings
+*/
+		if( PyMapping_Check(item) ) {
+			itemconv = PyObject_GetItem(d,
+					 (PyObject *) &PyDict_Type);
+		}
+		if( !itemconv ) {
+			itemconv = PyObject_GetItem(d,
+					 (PyObject *) &PyString_Type);
+		}
 	}
 	if (!itemconv) {
 		PyErr_SetString(PyExc_TypeError,
