[DB-SIG] db module wrapper

Kevin Jacobs jacobs at theopalgroup.com
Thu Sep 9 13:41:33 CEST 2004

Stuart Bishop wrote:

> On 21/08/2004, at 6:59 AM, Randall Smith wrote:
>> On a separate topic, got any ideas on how to abstract exceptions?  If 
>> someone has already figured out an easy way to do this, I sure would 
>> appreciate the knowledge.
> [...]
> Present them on the connection or cursor object:
> Manipulating the base classes of the exception should also work,
> since Exceptions are still old-style classes.

Since Python 2.3, you have been able to modify base classes of
new-style objects as well.


More information about the DB-SIG mailing list