summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-08-14 14:40:28 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-08-14 14:40:28 -0400
commit4a4cccfee5a2eb78380e56eb9476e91658656676 (patch)
tree86d8727dfa51538906b57f2872741642b1435b0c /lib/sqlalchemy/engine/base.py
parentc0c6aaa58ad1bf01345189a917029c40edc3c8eb (diff)
downloadsqlalchemy-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