I was having a look at the __init__.py module header for MonetSQLdb, and saw the following:
__all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE', 'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks', 'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error', 'FIELD_TYPE', 'IntegrityError', 'InterfaceError', 'InternalError', 'MySQLError', 'NULL', 'NUMBER', 'NotSupportedError', 'DBAPISet',
What is the reference to MySQLError doing in the code? I suppose it is just ignored by the interpreter but surely it is a mistake.
Warning, OperationalError, and ProgrammingError are not exported by the module.
Henrik
On Sun, May 04, 2008 at 07:02:06PM +0100, Henrik Vendelbo wrote:
I was having a look at the __init__.py module header for MonetSQLdb, and saw the following:
__all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE', 'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks', 'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error', 'FIELD_TYPE', 'IntegrityError', 'InterfaceError', 'InternalError', 'MySQLError', 'NULL', 'NUMBER', 'NotSupportedError', 'DBAPISet',
What is the reference to MySQLError doing in the code? I suppose it is just ignored by the interpreter but surely it is a mistake.
Indeed MySQLError shouldn't be there.
Warning, OperationalError, and ProgrammingError are not exported by the module.
Niels
Henrik
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao... _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Henrik Vendelbo
-
Niels Nes