Using a thread pool is the right answer. There's some discussion here:
https://github.com/python-trio/trio/issues/20
One thing Python could do to make this more effective would be to add
a "buffer-only" mode for operations on file objects:
https://bugs.python.org/issue32561
-n
On Sat, Jun 9, 201
Hi group,
It seems that Python docs don't make a recommendation about which library
to use for asynchronous access to files when using asyncio.
Is there a canonical recommendation?
Is it a good idea?
There's at least one 3rd party library popular enough to deserve own
stackoverflow tag, however