Re: PostgreSQL vs MySQL (was Re: How to handle sockets - easily?)

2011-03-17 Thread J Peyret
On Mar 16, 10:19 am, a...@pythoncraft.com (Aahz) wrote: In article fdjt28-flo@wilbur.25thandclement.com, always recommend people to use PostgreSQL, though; which is superior in almost every way, especially the C client library and the wire protocol.) Can you point at a reference for the

PostgreSQL vs MySQL (was Re: How to handle sockets - easily?)

2011-03-16 Thread Aahz
In article fdjt28-flo@wilbur.25thandclement.com, William Ahern will...@wilbur.25thandclement.com wrote: I think that there's an asynchronous all-Python MySQL library, but I'm not sure. Maybe one day I can open source my asynchronous MySQL C library. (I always recommend people to use

Re: How to handle sockets - easily?

2011-02-16 Thread Bubba
Richard Kettlewell's log on stardate 10 vlj 2011 Rewrites can help but they can also go badly wrong. Rewriting into a language you don't yet know seems especially likely to fall into the latter category! Indeed. However, it seems to be quite doable, as it took me from 0 knowledge of Python

Re: How to handle sockets - easily?

2011-02-16 Thread William Ahern
Bubba nickn...@banelli.biz.invalid wrote: snip import asyncore import socket import string import MySQLdb import sys snip def __init__(self, host, port): asyncore.dispatcher.__init__(self) self.create_socket(socket.AF_INET, socket.SOCK_STREAM)

Re: How to handle sockets - easily?

2011-02-16 Thread Bubba
William Ahern's log on stardate 16 vlj 2011 /snip I think that there's an asynchronous all-Python MySQL library, but I'm not sure. Maybe one day I can open source my asynchronous MySQL C library. (I always recommend people to use PostgreSQL, though; which is superior in almost every way,

Re: How to handle sockets - easily?

2011-02-16 Thread Jean-Paul Calderone
On Feb 16, 1:59 pm, William Ahern will...@wilbur.25thandclement.com wrote: Bubba nickn...@banelli.biz.invalid wrote: snip import asyncore import socket import string import MySQLdb import sys snip     def __init__(self, host, port):        

Re: How to handle sockets - easily?

2011-02-16 Thread William Ahern
Bubba nickn...@banelli.biz.invalid wrote: William Ahern's log on stardate 16 vlj 2011 /snip I think that there's an asynchronous all-Python MySQL library, but I'm not sure. Maybe one day I can open source my asynchronous MySQL C library. (I always recommend people to use PostgreSQL,