#252 AttributeErrors in Connection objects-refactoring problem

MySQLdb-1.3
open
MySQLdb (285)
5
2012-09-19
2008-04-04
No

Probably caused by (unfinished?) refactoring the interface for the Connection object is broken.
In connections.py since revision 530 the Connection class does not inherit from _mysql.connection anymore but makes it a private attribute "_db" which is a good thing i think.

However methods/attributes formerly present in Connection objects by inheritence are not available anymore and don't seem to be exposed at other places.

For example connection.ping() does not work and raises an AttributeError.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks