This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Incorrect documentation of select module
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Salvo “LtWorf” Tomaselli, SilentGhost, docs@python, orsenthil, python-dev
Priority: normal Keywords: patch

Created on 2016-05-14 10:24 by Salvo “LtWorf” Tomaselli, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue27018.diff SilentGhost, 2016-05-14 10:55 review
Messages (4)
msg265513 - (view) Author: Salvo “LtWorf” Tomaselli (Salvo “LtWorf” Tomaselli) Date: 2016-05-14 10:24
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.
msg265519 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2016-05-14 10:55
Here is the patch.
msg265576 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-05-15 04:29
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
msg265577 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2016-05-15 04:30
Thanks for the report, Salvo.
And thank you for the patch, SilentGhost. This is fixed in the active versions of python.
History
Date User Action Args
2022-04-11 14:58:31adminsetgithub: 71205
2016-05-15 04:30:12orsenthilsetstatus: open -> closed

nosy: + orsenthil
messages: + msg265577

resolution: fixed
stage: patch review -> resolved
2016-05-15 04:29:12python-devsetnosy: + python-dev
messages: + msg265576
2016-05-14 10:55:31SilentGhostsetfiles: + issue27018.diff

type: behavior
versions: + Python 3.6
keywords: + patch
nosy: + SilentGhost

messages: + msg265519
stage: patch review
2016-05-14 10:24:37Salvo “LtWorf” Tomasellicreate