This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pklanke
Recipients neologix, pitrou, pklanke, vstinner, yselivanov
Date 2017-07-05.09:10:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> "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.
Date User Action Args
2017-07-05 09:10:06pklankesetrecipients: + pklanke, pitrou, vstinner, neologix, yselivanov
2017-07-05 09:10:05pklankesetmessageid: <>
2017-07-05 09:10:05pklankelinkissue30844 messages
2017-07-05 09:10:05pklankecreate