]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug that affected generally the same classes of event
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Sep 2014 21:49:07 +0000 (17:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Sep 2014 21:49:07 +0000 (17:49 -0400)
commitb36cdefba273b8df0bc0ddf3ad072ba6031712ab
treeb742083c7f6bae00796dcdb8e7a4b96c0dc1ac54
parentfe5af837dc1b3ae244d6817340155aa07c2fb850
- Fixed bug that affected generally the same classes of event
as that of :ticket:`3199`, when the ``named=True`` parameter
would be used.  Some events would fail to register, and others
would not invoke the event arguments correctly, generally in the
case of when an event was "wrapped" for adaption in some other way.
The "named" mechanics have been rearranged to not interfere with
the argument signature expected by internal wrapper functions.
fixes #3197
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/event/registry.py
lib/sqlalchemy/events.py
lib/sqlalchemy/orm/events.py
test/base/test_events.py
test/engine/test_execute.py
test/orm/test_attributes.py
test/orm/test_events.py