[Python-Dev] Status of PEP 3145 - Asynchronous I/O for subprocess.popen
josiah.carlson at gmail.com
Fri Mar 28 17:45:40 CET 2014
If it makes you feel any better, I spent an hour this morning building a
2-function API for Linux and Windows, both tested, not using ctypes, and
not even using any part of asyncio (the Windows bits are in msvcrt and
_winapi). It works in Python 3.3+. You can see it here:
On Fri, Mar 28, 2014 at 1:09 AM, Paul Moore <p.f.moore at gmail.com> wrote:
> On 28 March 2014 05:09, Josiah Carlson <josiah.carlson at gmail.com> wrote:
> > So yeah. Someone want to make a decision? Tell me to write the docs, I
> > Tell me to go take a long walk off a short pier, I'll thank you for your
> > time and leave you alone.
> I had a need for this a few years ago. It's messy to do on Windows
> (ctypes callouts to PeekNamedPipe to check if you can read from the
> process without blocking). So I would like to see a recipe for this,
> (even if it's likely to be another few years before I ever need it
> again :-)).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev