[Python-bugs-list] [ python-Bugs-539444 ] asyncore file wrapper & os.error

noreply@sourceforge.net noreply@sourceforge.net
Thu, 04 Apr 2002 12:57:26 -0800


Bugs item #539444, was opened at 2002-04-04 20:57
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=539444&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Hylton (jhylton)
Assigned to: A.M. Kuchling (akuchling)
Summary: asyncore file wrapper & os.error

Initial Comment:
The file wrapper makes a file descriptor look like an
asycnore socket.  When its recv() method is invoked, it
calls os.read().

I use this in an application where os.read()
occasionally raises os.error (11, 'Resource temporarily
unavailable').  I think that asyncore should catch this
error and treat it just like EWOULDBLOCK.

But I'd like a second opinion.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=539444&group_id=5470