Michael Bayer wrote:
> because the Python Tutorial says to extend from Exception.  Im not
> familiar with StandardError (other than what pydoc says) ?
>
> http://www.python.org/doc/2.4.2/tut/node10.html#SECTION0010500000000000000000

Interesting.  I've always assumed the proper style was to inherit from
StandardError, and have seen various recommendations to do so e.g.:
http://www.egenix.com/files/python/DatabaseAPI-2.0.html. I've always
used StandardError as the default "catch all" exception class.

I can see that being less important in 2.5 (with the introduction of
BaseException).

-Mike


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sqlalchemy
-~----------~----~----~----~------~----~------~--~---

Reply via email to