]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug that affected many classes of event, particularly
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Sep 2014 19:24:40 +0000 (15:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Sep 2014 19:27:43 +0000 (15:27 -0400)
commit322e2568fb3709cc59bc820beddb71df33ad2757
tree0cdf28621566074d0d0ca5e50621d808f3dfba33
parent961da32afb4f54c65badc2cb9a79605cc2a230c6
- Fixed bug that affected many classes of event, particularly
ORM events but also engine events, where the usual logic of
"de duplicating" a redundant call to :func:`.event.listen`
with the same arguments would fail, for those events where the
listener function is wrapped.  An assertion would be hit within
registry.py.  This assertion has now been integrated into the
deduplication check, with the added bonus of a simpler means
of checking deduplication across the board.
fixes #3199

Conflicts:
lib/sqlalchemy/event/registry.py
test/base/test_events.py
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/event/attr.py
lib/sqlalchemy/event/registry.py
test/base/test_events.py