lp://staging/~cjwatson/storm/refactor-exception-wrapping
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp://staging/~cjwatson/storm/refactor-exception-wrapping
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Simon Poirier (community): Approve
-
Diff: 423 lines (+228/-31)6 files modifiedNEWS (+4/-0)
storm/database.py (+132/-1)
storm/databases/postgres.py (+28/-7)
storm/databases/sqlite.py (+15/-9)
storm/exceptions.py (+46/-14)
tests/database.py (+3/-0)
Related bugs
Bug #1006711: Use ABCMeta for storm.exceptions? | Undecided | Fix Released |
|
Bug #1170063: Storm crashes on recent psycopg2 | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 508. By Colin Watson
-
Wrap DB-API exceptions rather than injecting virtual base classes.
Re-raise DB-API exceptions wrapped in exception types that inherit from
both StormError and the appropriate DB-API exception type, rather than
injecting virtual base classes. This preserves existing exception
handling in applications while also being a viable approach in Python 3.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/storm