]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- An event listener can now be associated with a :class:`.Engine`,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Mar 2014 23:34:18 +0000 (19:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Mar 2014 23:34:18 +0000 (19:34 -0400)
commitb00e15b50f83b4d939a15162fe53863bc15be4f0
treeaacd2b265b9edd0883c3a265d424be05998123d8
parenta7a6b436600c764704f39e177938008c6f6b315f
- An event listener can now be associated with a :class:`.Engine`,
after one or more :class:`.Connection` objects have been created
(such as by an orm :class:`.Session` or via explicit connect)
and the listener will pick up events from those connections.
Previously, performance concerns pushed the event transfer from
:class:`.Engine` to  :class:`.Connection` at init-time only, but
we've inlined a bunch of conditional checks to make this possible
without any additional function calls. fixes #2978
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/engine/base.py
test/engine/test_execute.py