[docs] [issue20100] epoll docs are not clear with regards to CLOEXEC.

Serhiy Storchaka report at bugs.python.org
Tue Sep 27 04:25:27 EDT 2016


Serhiy Storchaka added the comment:

Old code looked strange after issue18571:

        flags |= EPOLL_CLOEXEC;
        if (flags)
            self->epfd = epoll_create1(flags);
        else

The condition is always true unless EPOLL_CLOEXEC is 0.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20100>
_______________________________________


More information about the docs mailing list