python / asyncio

asyncio historical repository
https://docs.python.org/3/library/asyncio.html
1.03k stars 178 forks source link

Official support for named pipes on Windows #337

Open AndreLouisCaron opened 8 years ago

AndreLouisCaron commented 8 years ago

Hi there :-)

I hope I'm reporting this to the right place, let me know if this isn't it.

I noticed there is support for UNIX sockets in asyncio, but there is no documented support for named pipes on Windows. I dug a bit and noticed the required functions are all implemented in asyncio, the only thing that's missing is a pair of functions akin to asyncio.start_unix_server() and asyncio.open_unix_connection() and some documentation.

I went on and implemented a simple script that showcases what's available (see this gist for a runnable example that uses UNIX sockets or named pipes depending on what the system supports).

I'm willing to put some time into the patch if you're willing to accept it. Any chance you're interested in this?

gvanrossum commented 8 years ago

Please rally support on the mailing list: https://groups.google.com/forum/?fromgroups#!forum/python-tulip