]> 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:33:45 +0000 (12:33 -0400)
commit95949db715ff54be01bfd260a51903ede60597ae
tree926fadafe63839b78c472deae3c899b43b607acc
parent635f06c3ebc787b98cf0ee1e94eff12fc96daff0
- 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
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/ext/instrumentation.py
test/ext/test_extendedattr.py