Re: [Python-Dev] Python-Dev Digest, Vol 53, Issue 23

2007-12-09 Thread Giampaolo Rodola'
M... This is what asyncore documentation says about handle_expt: > Called when there is out of band (OOB) data for a socket connection. > This will almost never happen, as OOB is tenuously supported and > rarely used. So, if you're right, the doc is wrong and should be rewritten. Or maybe thi

Re: [Python-Dev] Python-Dev Digest, Vol 53, Issue 23

2007-12-09 Thread James Y Knight
On Dec 9, 2007, at 5:52 AM, Giampaolo Rodola' wrote: >> def handle_expt(self): > > Like said above, this is called when arrived some OOB data. > I would change this into something like: "Called when some OOB data > arrived." Of course, that's not actually true. It's called for whatever the ex

Re: [Python-Dev] Python-Dev Digest, Vol 53, Issue 23

2007-12-09 Thread Giampaolo Rodola'
Some things I would change in the docstrings: > +A dispatcher object handles a single socket, processing connect, > +accept, close, read and write events as defined by the child > +handle_connect, handle_accept, handle_close, handle_read and > +handle_write methods, respectively.

Re: [Python-Dev] Python-Dev Digest, Vol 53, Issue 23

2007-12-08 Thread Daniel Arbuckle
> "Josiah Carlson" <[EMAIL PROTECTED]> wrote: > On Dec 5, 2007 9:19 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > The asyncore and asynchat modules are in a difficult position when it > > comes to Python 3000. None of the core developers use it or > > particularly care about it (AFAIK), and t