diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-12-31 16:17:21 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-12-31 16:17:21 (GMT) |
commit | 2bc930f0442e2bc7ea6d86b74352ad8ac90a40c8 (patch) | |
tree | 6a82711df131de4ca43c047cd00ffd48d45ce5d8 /Doc/whatsnew/3.4.rst | |
parent | d9ddd3f9ba1442c9ea630a9edd5df091ca168f5c (diff) | |
download | cpython-2bc930f0442e2bc7ea6d86b74352ad8ac90a40c8.zip cpython-2bc930f0442e2bc7ea6d86b74352ad8ac90a40c8.tar.gz cpython-2bc930f0442e2bc7ea6d86b74352ad8ac90a40c8.tar.bz2 |
whatsnew: epoll supports with.
Also reworded the description of the feature in the docs.
Diffstat (limited to 'Doc/whatsnew/3.4.rst')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 4a097d2..5b68243 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -851,6 +851,15 @@ New :func:`resource.prlimit` function and Linux specific constants. (Contributed by Christian Heimes in :issue:`16595` and :issue:`19324`.) +select +------ + +:class:`~select.epoll` objects now support the context management protocol. +When used in a :keyword:`with` statement, the :meth:`~select.epoll.close` +method will be called automatically at the end of the block. (Contributed +by Serhiy Storchaka in :issue:`16488`.) + + shelve ------ |