]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Repair _reinstall_default_lookups to also flip the _extended flag
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 1 May 2015 16:06:34 +0000 (12:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 1 May 2015 16:36:58 +0000 (12:36 -0400)
commitc613ec128ffecaa61d1caf8854da9a2cd63b901a
tree8639d72f40c57d61bfb704965a178c42e8103bf6
parentf1da4ce03d7f4f48bc991ca538afce746f031ce6
- Repair _reinstall_default_lookups to also flip the _extended flag
off again so that test fixtures setup/teardown instrumentation as
expected
- clean up test_extendedattr.py and fix it to no longer leak
itself outside by ensuring _reinstall_default_lookups is always called,
part of #3408
- Fixed bug where when using extended attribute instrumentation system,
the correct exception would not be raised when :func:`.class_mapper`
were called with an invalid input that also happened to not
be weak referencable, such as an integer.
fixes #3408

(cherry picked from commit 95949db715ff54be01bfd260a51903ede60597ae)
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/ext/instrumentation.py
test/ext/test_extendedattr.py