]> granicus.if.org Git - python/commit
IocpProactor: prevent modification if closed (GH-11494)
authorVictor Stinner <vstinner@redhat.com>
Thu, 10 Jan 2019 10:23:26 +0000 (11:23 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Jan 2019 10:23:26 +0000 (11:23 +0100)
commit9b07681c09182d4b9d23cd52566a4992b8afecbb
treedf2742d0c11f6cd8df8c2f973dbb1f8be62b7fca
parent6aedfa6b9ac324587f64133c23757a66a8f355bb
IocpProactor: prevent modification if closed (GH-11494)

* _wait_for_handle(), _register() and _unregister() methods of
  IocpProactor now raise an exception if closed
* Add "closed" to IocpProactor.__repr__()
* Simplify IocpProactor.close()
Lib/asyncio/windows_events.py