# HG changeset patch # User kylev # Date 1234897175 0 # Node ID 4093fb968cb7f26c146834f3f31c8621743490a7 # Parent 28e9be1ca5595dfc0b884caf114282c824a67690 Bring back conversions for the time being, until we can get trunk actually working right. diff -r 28e9be1ca559 -r 4093fb968cb7 MySQLdb/connections.py --- a/MySQLdb/connections.py Tue Feb 17 06:24:44 2009 +0000 +++ b/MySQLdb/connections.py Tue Feb 17 18:59:35 2009 +0000 @@ -130,7 +130,7 @@ from MySQLdb.cursors import Cursor import _mysql from weakref import proxy - + kwargs2 = kwargs.copy() if 'conv' in kwargs: @@ -145,7 +145,8 @@ conv2[k] = v[:] else: conv2[k] = v - #kwargs2['conv'] = conv2 + # TODO Remove this when we can do conversions in non-C space. + kwargs2['conv'] = conv2 self.cursorclass = kwargs2.pop('cursorclass', Cursor) charset = kwargs2.pop('charset', '')