
Hello: I wondering why there is no standard IOCP module in Python ? As I know: Python3 have support epoll in linux and kqueue in freebsd. Is there a plan to add IOCP module for Windows ? Regards! peipei

One will come with Tulip (http://code.google.com/p/tulip/), assuming we can get PEP 3156 accepted at least as "experimental" and the core Tulip code in the stdlib. At the moment the IOCP code there is pretty specialized for use with Tulip -- but if you want to help extracting the IOCP code from there for inclusion into the stdlib that would be great! On Tue, Sep 10, 2013 at 3:58 AM, 张佩佩 <zhangpeipei812@outlook.com> wrote:
-- --Guido van Rossum (python.org/~guido)

On 10/09/2013 11:58am, 张佩佩 wrote:
_winapi does have some undocumented support for IOCP (used only by multiprocessing), but the APIs are not very nice and should not be considered stable. (Also _winapi.ReadFile(), _winapi.WriteFile() only support pipes or sockets, not disk-based files where you also have to control file-position.) -- Richard

One will come with Tulip (http://code.google.com/p/tulip/), assuming we can get PEP 3156 accepted at least as "experimental" and the core Tulip code in the stdlib. At the moment the IOCP code there is pretty specialized for use with Tulip -- but if you want to help extracting the IOCP code from there for inclusion into the stdlib that would be great! On Tue, Sep 10, 2013 at 3:58 AM, 张佩佩 <zhangpeipei812@outlook.com> wrote:
-- --Guido van Rossum (python.org/~guido)

On 10/09/2013 11:58am, 张佩佩 wrote:
_winapi does have some undocumented support for IOCP (used only by multiprocessing), but the APIs are not very nice and should not be considered stable. (Also _winapi.ReadFile(), _winapi.WriteFile() only support pipes or sockets, not disk-based files where you also have to control file-position.) -- Richard
participants (3)
-
Guido van Rossum
-
Richard Oudkerk
-
张佩佩