[Python-checkins] [python/cpython] fbfaa6: bpo-30014: make poll-like selector's modify() meth...

GitHub noreply at github.com
Fri Jun 9 16:20:42 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: fbfaa6fd57f8dc8a3da808acb8422370fad2f27b
      https://github.com/python/cpython/commit/fbfaa6fd57f8dc8a3da808acb8422370fad2f27b
  Author: Giampaolo Rodola <g.rodola at gmail.com>
  Date:   2017-06-09 (Fri, 09 Jun 2017)

  Changed paths:
    M Doc/whatsnew/3.7.rst
    M Lib/selectors.py
    M Lib/test/test_selectors.py
    M Misc/NEWS

  Log Message:
  -----------
  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'




More information about the Python-checkins mailing list