Branch: refs/heads/master Home: https://github.com/python/cpython Commit: 62c7d90b6446288be1a7906581befe3c211fad5f https://github.com/python/cpython/commit/62c7d90b6446288be1a7906581befe3c211fad5f Author: Giampaolo Rodola <g.rodola at gmail.com> Date: 2017年05月20日 (2017年5月20日) 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