Message297720
> "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:06 | pklanke | set | recipients:
+ pklanke, pitrou, vstinner, neologix, yselivanov |
2017-07-05 09:10:05 | pklanke | set | messageid: <1499245805.94.0.250772511318.issue30844@psf.upfronthosting.co.za> |
2017-07-05 09:10:05 | pklanke | link | issue30844 messages |
2017-07-05 09:10:05 | pklanke | create | |
|