• Giampaolo Rodola's avatar
    #30014: refactor poll-related classes (#1035) · 62c7d90b
    Giampaolo Rodola yazdı
    * #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
    62c7d90b
selectors.py 17.3 KB