Pim Klanke added the comment:

> "The selectors API returns a list of (key, events) tuples. So an application 
> has to iterate on this list twice?"

No. "urgent data" means 'urgent' towards other events for thís key (key being 
the file object), not towards events for other file objects. 

AFAIK the returned ready list contains a single tuple for each file object, 
containing all events for that file object. Most likely urgent data events 
should be handled before handling other events for a given file object, but IMO 
there is no need to handle urgent data events of all file objects, before 
handling other events.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30844>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to