[Twisted-Python] XML-RPC & objects that won't serialize

...then converting them back to mx.DateTimes with DateTime.ISO.ParseDateTime. Not elegant, but it does the job. Note
Steve writes: that PB's jelly will also complain about DateTimes. Yes; I also resorted to converting them before passing back to the client. Was curious if there was a better way. Per Federico's post, I actually started with psycopg but found several twisted references to preferring pyPgSQL. I tested with about 110,000 records passed (in about 15-20 seconds - most of which tcpdump reports as data xfer activity) so it's not impairing things much. Overall, I'm really interested moving to a server-based ssh menu interface (via conch presumably, though the documentation seems sparse and stale and server examples somewhat limited; I've seen older posts here on a similar thread. If I can get up to speed on all this, it might be an area to volunteer my help) and a Qt client possibly implemented through PB. Twisted's terribly interested (and overwhelming at the same time). Thanks all for being kind to this newb! Jamie

On Thu, 2004-05-13 at 14:42, James R. Saker Jr. wrote:
I actually started with psycopg but found several twisted references to preferring pyPgSQL.
We had one of those (for no good reason!) in the enterpise howto. I got rid of it yesterday. -- Itamar Shtull-Trauring http://itamarst.org

On Thu, 2004-05-13 at 14:42, James R. Saker Jr. wrote:
I actually started with psycopg but found several twisted references to preferring pyPgSQL.
We had one of those (for no good reason!) in the enterpise howto. I got rid of it yesterday. -- Itamar Shtull-Trauring http://itamarst.org
participants (2)
-
Itamar Shtull-Trauring
-
James R. Saker Jr.