does nothing if there are
other non-local references to the same session. But you probably know
all that. :) )
--
Peter Hansen
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalch...@googlegroups.com
be configured for debug purposes to show what's really
happening here.)
--
Peter Hansen
Engenuity Corporation
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send
())
def test03(self):
'''use transaction with isolation_level None'''
self.setup(connect_args={'isolation_level': None})
self.rollback_txn()
self.assertEqual(['foo'], self.get_table_names())
if __name__ == '__main__':
unittest.main()
--
Peter Hansen
may not be generally useful, it would still be
nice for posterity (i.e. those searching through this thread in future)
if you could summarize how you've actually addressed this issue to your
satisfaction, however crude or unusual that might be. Thanks. :)
--
Peter Hansen
Dominique wrote:
On 10 juin, 02:38, Peter Hansen [EMAIL PROTECTED] wrote:
As Python has no way to actually terminate a thread, can you explain
what you mean by stop this thread? Are you simply cloning the code
from the wxPython example, with the delayedresult.AbortEvent() object
Dominique wrote:
I am using delayedresult (which is a class to do threading in
wxPython) for a query with SQLAlchemy, using SQLite.
I have an 'opened' session in the main App thread.
I create another session under the delayedresult thread.
When I try to stop this thread with a dedicated