diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-08-14 14:40:28 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-08-14 14:40:28 -0400 |
commit | 4a4cccfee5a2eb78380e56eb9476e91658656676 (patch) | |
tree | 86d8727dfa51538906b57f2872741642b1435b0c /lib/sqlalchemy/engine/base.py | |
parent | c0c6aaa58ad1bf01345189a917029c40edc3c8eb (diff) | |
download | sqlalchemy-4a4cccfee5a2eb78380e56eb9476e91658656676.tar.gz |
- Removing (or adding) an event listener at the same time that the event
is being run itself, either from inside the listener or from a
concurrent thread, now raises a RuntimeError, as the collection used is
now an instance of ``colletions.deque()`` and does not support changes
while being iterated. Previously, a plain Python list was used where
removal from inside the event itself would produce silent failures.
fixes #3163
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
0 files changed, 0 insertions, 0 deletions