Results 953 comments of Thomas Grainger

https://docs.python.org/3.9/library/asyncio-task.html#asyncio.to_thread Of course there's ``` await asyncio.to_thread(shutil.copyfile, "a", "b") ```

asyncio.to_thread uses the default executor which is a bounded pool of worker threads by default

I'm not 100% sure. I think write is supposed to write to a buffer and gradually drain 'in the background' then drain waits for the buffer to empty

@mattblang $timeout runs $digest.

urwid is pretty nice and supports trio, asyncio and twisted etc

@yarikoptic \_\_version\_\_ is redundant. Use pkg_resources.get_distribution('dockerpty').version

Yeah \_\_version\_\_ predates pkg_resources and packaging being good

@d11wtq this will need a release with "python setup.py sdist bdist_wheel upload"