STINNER Victor added the comment: > Old code looked strange after issue18571:
epoll_create() is a deprecated. epoll_create(size): "Since Linux 2.6.8, the size argument is ignored, but must be greater than zero" according to the man page. So it's fine to always call epoll_create1(flags). Example of new potential new flag for epoll_create1(): ten years ago, EPOLL_NONBLOCK was proposed: https://lkml.org/lkml/2008/8/24/130 (but it seems like it doesn't make sense, since the syscall cannot block) Recent epoll evolutions don't seem to be on epoll_create1(): https://lwn.net/Articles/633422/ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20100> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com