Re: [Sqlalchemy-tickets] [sqlalchemy] #2459: add cursor execute events to Connection._cursor_execut
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-08-05 04:45:47
|
#2459: add cursor execute events to Connection._cursor_execute
-----------------------------------+-------------------------------
Reporter: zzzeek | Owner: zzzeek
Type: enhancement | Status: closed
Priority: high | Milestone: 0.8.0b1
Component: engine | Severity: major - 1-3 hours
Resolution: fixed | Keywords:
Progress State: completed/closed |
-----------------------------------+-------------------------------
Comment (by sayap):
Just want to note that the iterators chaining in
`_CompoundListener.__iter__` doesn't work as intended in Jython 2.7 due to
the following bug: http://bugs.jython.org/issue2015
Subsequently, event-related stuffs do not work in Jython 2.7, including
fundamental things like `cascade='save-update'`.
A temporary workaround for Jython 2.7 users is to change
`_CompoundListener.__iter__` to yield from 2 for-loops instead, although
perhaps it makes more sense to wait until Jython 2.7 has a stable release.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2459#comment:2>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|