summaryrefslogtreecommitdiff
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/build/changelog/changelog_10.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_10.rst b/doc/build/changelog/changelog_10.rst
index 815de72c7..fb14279ac 100644
--- a/doc/build/changelog/changelog_10.rst
+++ b/doc/build/changelog/changelog_10.rst
@@ -17,6 +17,17 @@
:version: 1.0.0
.. change::
+ :tags: engine, bug
+ :tickets: 3163
+
+ 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.
+
+ .. change::
:tags: orm, feature
:tickets: 2963