[Python-Dev] Python-Dev Digest, Vol 53, Issue 23
James Y Knight
foom at fuhm.net
Sun Dec 9 17:35:10 CET 2007
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
More information about the Python-Dev
mailing list