[python/cpython] 62c7d9: #30014: refactor poll-related classes (#1035)
![](https://secure.gravatar.com/avatar/9181eb84f9c35729a3bad740fb7f9d93.jpg?s=120&d=mm&r=g)
Branch: refs/heads/master Home: https://github.com/python/cpython Commit: 62c7d90b6446288be1a7906581befe3c211fad5f https://github.com/python/cpython/commit/62c7d90b6446288be1a7906581befe3c211... Author: Giampaolo Rodola <g.rodola@gmail.com> Date: 2017-05-20 (Sat, 20 May 2017) Changed paths: M Lib/selectors.py Log Message: ----------- #30014: refactor poll-related classes (#1035) * #30014: refactor poll-related classes so that poll(), epoll() and devpoll() share the same methods for register(), unregister(), close() and select() * remove unused attribute * use specific class attributes instead of select.* constants * have all classes except SelectSelector a _selector attribute * BaseException -> Exception * be explicit in defining a close() method only for selectors which have it * fix AttributeError
participants (1)
-
GitHub