Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa0c885

Browse files
committed
Issue #20100: Merge from 3.5
2 parents 9af13ca + 1c697a5 commit fa0c885

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/library/select.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ The module defines the following:
5757

5858
(Only supported on Linux 2.5.44 and newer.) Return an edge polling object,
5959
which can be used as Edge or Level Triggered interface for I/O
60-
events. *sizehint* is deprecated and completely ignored. *flags* can be set
61-
to :const:`EPOLL_CLOEXEC`, which causes the epoll descriptor to be closed
62-
automatically when :func:`os.execve` is called.
60+
events. *sizehint* and *flags* are deprecated and completely ignored.
6361

6462
See the :ref:`epoll-objects` section below for the methods supported by
6563
epolling objects.
@@ -77,6 +75,10 @@ The module defines the following:
7775
Support for the :keyword:`with` statement was added.
7876
The new file descriptor is now non-inheritable.
7977

78+
.. deprecated:: 3.4
79+
The *flags* parameter. ``select.EPOLL_CLOEXEC`` is used by default now.
80+
Use :func:`os.set_inheritable` to make the file descriptor inheritable.
81+
8082

8183
.. function:: poll()
8284

0 commit comments

Comments
 (0)