Pim Klanke added the comment:
On 02-11-17 16:54, STINNER Victor wrote:
> STINNER Victor added the comment:
>
> It seems like kqueue supports urgent data:
>
> "EV_OOBAND: Read filter on socket may set this flag to indicate the presence
> of out of band data on the d
Pim Klanke added the comment:
On 26-09-17 14:13, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> It would help to look how Twisted, eventlet, gevent and others handle "urgent
> data" and "exceptions".
First of all, there are no excep
Pim Klanke added the comment:
On 26-09-17 14:01, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> Anothe piece of history, the creation of the selectors module, bpo-16853,
> directly with the win32 "select.select(r, w, w, ti
Pim Klanke added the comment:
On 26-09-17 14:10, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> On Windows, exceptfds of select() is not only related to urgent ("out of
> band") data, it also notifies connect() failure:
>
> exceptfds:
>
&
Pim Klanke added the comment:
On 26-09-17 12:29, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> Using Git history, I found the following commit which added "r, w, x =
> select(r, w, w, timeout)" for Windows in tulip (old name of the asyncio
> pr
Pim Klanke added the comment:
On 26-09-17 11:51, STINNER Victor wrote:
>
> 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.
&g
Pim Klanke added the comment:
In the selectors module, the winsock select method is wrapped. The second
parameter (writefds) is passed to both writefds and exceptfds and the returned
number of fds for write and except are summed and returned in the second
element of the tuple.
Can anyone
Pim Klanke added the comment:
> "Let's say that we got read event on sockets A and B (in an ordered list from
> selectors: A, then B), but B gets urgent data: should we handle B urgent data
> before not-urgent A data?"
IMO No. The same strategy applies. urgent data e
Pim Klanke added the comment:
This is in fact the third catagory of select(), "exceptional conditions", but
because some find the term "exceptional" confusing when used in a Python
module, we decided to use the term "urgent data", borrowed from the poll(2)
Pim Klanke added the comment:
I'm confused about the wrapper method around winsock select and curious to why
this is necessary. I have send an email to neologix to share some light on the
subject.
--
___
Python tracker
<http://bugs.py
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 ev
Changes by Pim Klanke :
--
title: asyncio: selector_events: add_excepter(), 3rd argument of
select.select() -> asyncio: selector_events: add_urgent() for urgent data to
read, 3rd argument of select.select()
___
Python tracker
&l
Changes by Pim Klanke :
--
title: selectors: Add exceptional conditions event -> selectors: Add urgent
data to read event
___
Python tracker
<http://bugs.python.org/issu
Changes by Pim Klanke :
--
title: selectors: Add exceptional urgent data event -> selectors: Add
exceptional conditions event
___
Python tracker
<http://bugs.python.org/issu
Pim Klanke added the comment:
To be able to use GPIO Sysfs Interface with asyncio on our embedded platforms,
we require exceptional event support in asyncio.
depends on bpo-30844
--
___
Python tracker
<http://bugs.python.org/issue30
New submission from Pim Klanke:
depends on bpo-30844
--
components: asyncio
messages: 297652
nosy: pklanke, yselivanov
priority: normal
severity: normal
status: open
title: asyncio: selector_events: add_excepter(), 3rd argument of select.select()
type: enhancement
versions: Python 3.7
Changes by Pim Klanke :
--
title: selectors: add_excepter(), 3rd argument of select.select() -> selectors:
Add exceptional urgent data event
___
Python tracker
<http://bugs.python.org/issu
Changes by Pim Klanke :
--
components: -asyncio
title: selectors and asyncio: add_excepter(), 3rd argument of select.select()
-> selectors: add_excepter(), 3rd argument of select.select()
___
Python tracker
<http://bugs.python.org/issu
Changes by Pim Klanke :
--
pull_requests: +2629
___
Python tracker
<http://bugs.python.org/issue30844>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Pim Klanke:
To be able to use GPIO Sysfs Interface on our embedded platforms we require
exceptional event support.
--
components: asyncio
messages: 297629
nosy: pklanke, yselivanov
priority: normal
severity: normal
status: open
title: selector_events.py lacks
20 matches
Mail list logo