]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Implement remove() for _empty_collection
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Feb 2018 21:59:42 +0000 (16:59 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Feb 2018 22:01:43 +0000 (17:01 -0500)
commit1393eac44c49299e733a5181f387ba140aaa3e44
tree228ea8203b49c247280e2b2bfdc314df1fc47629
parent20aee85b44cb8847aedb4196dc720a7feea0f584
Implement remove() for _empty_collection

Fixed regression caused in 1.2.3 due to fix from :ticket:`4181` where
the changes to the event system involving :class:`.Engine` and
:class:`.OptionEngine` did not accommodate for event removals, which
would raise an ``AttributeError`` when invoked at the class
level.

Change-Id: I1c9083829d74dd710716d28b0eaca4fa15e86313
Fixes: #4190
doc/build/changelog/unreleased_12/4190.rst [new file with mode: 0644]
lib/sqlalchemy/event/attr.py
test/base/test_events.py
test/engine/test_execute.py