]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- A clear error message is emitted if an event handler
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Feb 2013 00:27:07 +0000 (19:27 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Feb 2013 00:27:07 +0000 (19:27 -0500)
commit07cc4ecf05aeb746a54ce51671d7a4b2669141e2
tree45d320b5157083f0e8d6d927f36bf796b48d16a7
parent95297c35442e483bb98b5a4edb677bb168064f5e
- A clear error message is emitted if an event handler
attempts to emit SQL on a Session within the after_commit()
handler, where there is not a viable transaction in progress.
[ticket:2662]
- rework how SessionTransaction maintains state, using symbols
instead.
- add lots of notes and cross-linking for session events.
- add a link to :func:`.select()` within :meth:`.FromClause.select`.
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/sql/expression.py
test/orm/test_transaction.py