[Stackless] Connecting To A Database

Edward Faulkner ef at alum.mit.edu
Mon Jun 11 05:22:45 CEST 2007


On 6/8/07, seun.osewa at gmail.com <seun.osewa at gmail.com> wrote:
> On 6/8/07, Edward Faulkner <ef at alum.mit.edu> wrote:
> > I'm pretty sure that pypgsql exposes enough of an asynchronous
> > interface that you can do the integration all in python.  The library
> > gives you the relevant file descriptor and tells you what events to
> > poll for and what hook to call with the result.
>
> Hmmm.  This sounds very straightforward, but won't the socket
> library monkey-patching will interfere with the pypgsql code?

No, because I doubt pypgsql makes any socket calls from python.  It
just calls directly into the C-library, which does the socket
manipulation directly.

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list