]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30014: make poll-like selector's modify() method faster (#1030)
authorGiampaolo Rodola <g.rodola@gmail.com>
Fri, 9 Jun 2017 20:20:41 +0000 (22:20 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Jun 2017 20:20:41 +0000 (22:20 +0200)
commitfbfaa6fd57f8dc8a3da808acb8422370fad2f27b
tree19698cdf7bc911be2a0332055abd6b6b5d5f629f
parent894a654a9caafb7a5bf63e1383a048041c05023b
bpo-30014: make poll-like selector's modify() method faster (#1030)

* #30014: make selectors.DefaultSelector.modify() faster by relying on selector's modify() method instead of un/register()ing the fd

* #30014: add unit test

* speedup poll/epoll/devpoll modify() method by using internal modify() call

* update doc

* address PR comments

* update NEWS entries

* use != instead of 'is not'
Doc/whatsnew/3.7.rst
Lib/selectors.py
Lib/test/test_selectors.py
Misc/NEWS