[Python-Dev] Python-Dev Digest, Vol 53, Issue 23
Giampaolo Rodola'
gnewsg at gmail.com
Sun Dec 9 17:45:04 CET 2007
Mmmmm...
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 this is just a big mistake: could you please take a look at
Python issue #1541?
On 9 Dic, 17:35, James Y Knight <f... at fuhm.net> wrote:
> 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 exc
> bit from select indicates, which varies by platform. Oh, and if you're
> using the "poll2" implementation of asyncore, handle_expt is called
> only when there's an error on the socket, instead. Ah, wonderful
> abstraction.
>
> James
>
> _______________________________________________
> Python-Dev mailing list
> Python-... at python.orghttp://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:http://mail.python.org/mailman/options/python-dev/python-dev2-garchiv...
More information about the Python-Dev
mailing list