mailru/tarantool-python — Issue #3: Implement exceptions as Connection class attributes
Author: coxx
Created: 2011-12-25 16:11:30+00:00
State: open
Labels: feature

[PEP-0249](http://www.python.org/dev/peps/pep-0249/) proposing to implement exceptions as attributes of Connection class:

All exception classes defined by the DB API standard should be
exposed on the Connection objects as attributes (in addition
to being available at module scope).

These attributes simplify error handling in multi-connection
environments.