STINNER Victor added the comment:

I'm not confortable with the change because of following questions:

* It seems like your patch changes the SelectSelector behaviour on Windows. How 
is a selectors user supposed to upgrade his/her code to get the same behaviour 
on Python 3.6 and 3.7? Would it make sense to add a flag to SelectSelectors get 
the old behaviour?

* KqueueSelector doesn't support urgent event. How is a selectors user suppose 
to be aware of them? Use a blacklist of selectors which doesn't support urgent 
events? This list might evolve in the future, so maybe the selector should 
announce which events are supported?

* This change alone is going to change asyncio behaviour on Windows, no? 
Because of the SelectSelector behaviour change on Windows.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://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