python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use public .is_closed() instead of private ._check_closed() from asyncio

shamrin opened this issue · comments

trio-asyncio use private asyncio.BaseEventLoop._check_closed() method everywhere.

We may want to switch to public .is_closed() instead. It was introduced in Python 3.5.

See also: #96 (comment)