[Twisted-Python] adbapi weirdness
sflist at ihonk.com
Thu Jul 31 00:54:43 EDT 2003
> > But a call to listPrefs() hangs until I make another, concurrent
> > request to dbtest(), at which point it comes through. Then if I try
> > listPrefs() again, it returns Fault 8002: Can't serialize output.
> You can't send the same Deferred more than once.
Hmm. My impression was that when I did:
result = db.runQuery("select * from foo")
result was a list which contained the result of the query, so I could return
that as many times as I liked, since it's just a list.
More information about the Twisted-Python