[issue16488] Add context manager support to epoll object
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16488] Add context manager support to epoll object
Roundup Robot added the comment: New changeset d6f61cd364d9 by Antoine Pitrou in branch 'default': Issue #16488: epoll() objects now support the `with` statement. http://hg.python.org/cpython/rev/d6f61cd364d9 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16488] Add context manager support to epoll object
Antoine Pitrou added the comment: Committed, thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16488] Add context manager support to epoll object
Andrew Svetlov added the comment: +0 for patch -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16488] Add context manager support to epoll object
New submission from Serhiy Storchaka: The proposed patch adds support of context manager protocol to epoll objects. -- components: Extension Modules files: select_epoll_context_manager.patch keywords: patch messages: 175693 nosy: serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Add context manager support to epoll object type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file28003/select_epoll_context_manager.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16488] Add context manager support to epoll object
Antoine Pitrou added the comment: I don't think that's very useful since generally the epoll object will have to survive accross function calls (it's usually stored as an attribute somewhere on your event loop). On the other hand, this addition doesn't hurt. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com