using python 2.7.1 MySQLdb 1.2.3, MySQL 5 on solaris 10
doing the following results in an error Connection has no attribute 'cursorclass' at line 226
to fix this line 150(self.cursorclass = kwargs2.pop('cursorclass', self.default_cursor)) needs to be moved to after 170 (super(Connection, self).init(args, *kwargs2))
Then it works. seems that the super().init() wipes out any previously set attributes.
Only tested this on solaris. with python 2.7.1 dont know if the same problem is there on windoze or linux, or if the problem is with python
Log in to post a comment.