Issues

Issue #2459 resolved

add cursor execute events to Connection._cursor_execute

Mike Bayer
repo owner created an issue

also add the "Context" here as this is usually available. we need this at least to facilitate testing and the events should really give access to everything. the "context" may have to be None in some cases if we have some calls that don't use an executioncontext.

Comments (5)

  1. Sok Ann Yap

    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.

  2. Mike Bayer reporter

    everytime i try jython it is loaded with show stoppers, so yeah, surprised you can get jython 2.7 to run at all. it hasn't been a viable platform for a long time.

  3. Log in to comment