diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-09-27 15:40:47 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-10-01 17:22:57 -0400 |
commit | 2f4abe24d2754e8d35f43e684e5fa303c1c8d15b (patch) | |
tree | c21cdae700aa9d936877ab59372c93de463e90e2 /lib/sqlalchemy/sql/default_comparator.py | |
parent | 7f87cad26c1726565a200f85b7855bf8192e8df5 (diff) | |
download | sqlalchemy-2f4abe24d2754e8d35f43e684e5fa303c1c8d15b.tar.gz |
Ensure all SQLAlchemy exception can be properly pickled
Implemented proper ``__reduce__()`` methods for all SQLAlchemy exception
objects to ensure they all support clean round trips when pickling, as
exception objects are often serialized for the purposes of various
debugging tools.
Fixes #7077
Closes: #7078
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7078
Pull-request-sha: 8ba69f26532f0f60f679289702c9477e25149bf8
Change-Id: Id62f8d351cd9180c441ffa9201efcf5f1876bf83
Diffstat (limited to 'lib/sqlalchemy/sql/default_comparator.py')
0 files changed, 0 insertions, 0 deletions