]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure extended instrumentation is fully disposed
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 May 2021 15:28:03 +0000 (11:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 May 2021 16:37:05 +0000 (12:37 -0400)
commit52f4d384b6236d00c07afa66ffb8ae2343a87b0f
treeee77a14eaf7a38513e61382fd56926d81821cef9
parentb20b6f8fe7ea0198f819a0fd68ca076b6c760054
Ensure extended instrumentation is fully disposed

Fixed regression in the ``sqlalchemy.ext.instrumentation`` extension that
prevented instrumentation disposal from working completely. This fix
includes both a 1.4 regression fix as well as a fix for a related issue
that existed in 1.3 also.   As part of this change, the
:class:`sqlalchemy.ext.instrumentation.InstrumentationManager` class now
has a new method ``unregister()``, which replaces the previous method
``dispose()``, which was not called as of version 1.4.

Fixes: #6390
Change-Id: I1b7a0f190b56d31b93b5ba11f67dc9f73889958b
doc/build/changelog/unreleased_14/6390.rst [new file with mode: 0644]
lib/sqlalchemy/ext/instrumentation.py
test/ext/test_extendedattr.py