[issue27655] [Patch] Don't require presence of POLLPRI

2016-08-02 Thread Ed Schouten
Ed Schouten added the comment: Believe it our not, dealing with the absence of those system calls is more contained than you'd think. What is pretty nice about Python is that (almost) all of the file system operations are performed through posixmodule.c. Most of the changes in that area are th

[issue27655] [Patch] Don't require presence of POLLPRI

2016-08-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Are you planning on sending us patches to make Python compile without open(2)? Putting #ifdef around various constants is one thing but it seems like this could become quite invasive. -- ___ Python tracker

[issue27655] [Patch] Don't require presence of POLLPRI

2016-08-01 Thread Ed Schouten
Ed Schouten added the comment: That's a very good question. One of the goals of CloudABI's C library is to leave out definitions for things that are known not to work in the environment. For example, our doesn't contain open(), as with our security model (Capsicum), there is nothing meaningfu

[issue27655] [Patch] Don't require presence of POLLPRI

2016-08-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why do you remove the flag rather than just making it a noop? -- nosy: +benjamin.peterson ___ Python tracker ___

[issue27655] [Patch] Don't require presence of POLLPRI

2016-07-30 Thread Ed Schouten
New submission from Ed Schouten: RFC 6093 states that applications "SHOULD NOT" make use of TCP's out-of-band data. For this reason, CloudABI (https://mail.python.org/pipermail/python-dev/2016-July/145708.html) does not provide support for it. This means that its poll() function does provide