[issue27018] Incorrect documentation of select module
New submission from Salvo “LtWorf” Tomaselli: import select help(select.epoll) It mentions that the default mask is EPOLL_IN | EPOLL_OUT | EPOLL_PRI. However there are no such constants. They are called EPOLLIN EPOLLOUT and EPOLLPRI. Please fix. ---------- assignee: docs@python components: Documentation messages: 265513 nosy: Salvo “LtWorf” Tomaselli, docs@python priority: normal severity: normal status: open title: Incorrect documentation of select module versions: Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27018> _______________________________________
SilentGhost added the comment: Here is the patch. ---------- keywords: +patch nosy: +SilentGhost stage: -> patch review type: -> behavior versions: +Python 3.6 Added file: http://bugs.python.org/file42846/issue27018.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27018> _______________________________________
Roundup Robot added the comment: New changeset 37c95a4b979a by Senthil Kumaran in branch '3.5': issue27018 - Fix the documentation of select.epoll.register method. https://hg.python.org/cpython/rev/37c95a4b979a New changeset eca161a355d4 by Senthil Kumaran in branch 'default': merge from 3.5 https://hg.python.org/cpython/rev/eca161a355d4 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27018> _______________________________________
Senthil Kumaran added the comment: Thanks for the report, Salvo. And thank you for the patch, SilentGhost. This is fixed in the active versions of python. ---------- nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27018> _______________________________________
participants (4)
-
Roundup Robot -
Salvo “LtWorf” Tomaselli -
Senthil Kumaran -
SilentGhost