On 04:03 pm, doug.farr...@gmail.com wrote:
>Jean-Paul,
>
>Thanks for the "heads up", that certainly falls under the D'OH!
>category. Would you have any suggestions for how I might do this kind
>of thing?
I already mentioned SynchronousDeferred, so I guess you're not
interested in that. :)
The
around this problem if you plan to call your database code more than
once without restarting the python process.
-Tom
--
Message: 9
Date: Fri, 13 Nov 2009 09:32:25 -0500
From: Doug Farrell
Subject: [Twisted-Python] synchronous/asynchronous api: possible
On 02:32 pm, doug.farr...@gmail.com wrote:
>Hi all,
>
>I'd like to get some comments on the code below (including, "don't be
>a bonehead!" ). I'm trying to write a API library for database
>access that can be used by both synchronous (non-twisted, no reactor)
>code and asynchronous (twisted, with r
Hi all,
I'd like to get some comments on the code below (including, "don't be
a bonehead!" ). I'm trying to write a API library for database
access that can be used by both synchronous (non-twisted, no reactor)
code and asynchronous (twisted, with reactor) code where the methods
of the library can