Asynchronously Opening and Closing Files in Asyncio
Just want to note and curio and trio, two non-stdlib python async libraries, have file io as batteries included.<p>I would also like to point out that asyncio made a huge mistake here. IO is not limited to interactions with the network buffer. I don&#x27;t know how something called asyn<i>io</i> can be released in to stdlib, and not include disk io.<p>The fact that there is no actual async file io on the OS doesn&#x27;t matter. Dealing with files is a core concept in almost every application, and so pushing this to stdlib and hoping the python ecosystem takes up the slack, or people handbake threaded access in themselves, is a joke.<p>Some of this is a little dated, but a friend of mine wrote this and included my complaints about file io in there somewhere too:<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20171206105117&#x2F;https:&#x2F;&#x2F;veriny.tf&#x2F;asyncio-a-dumpster-fire-of-bad-design&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20171206105117&#x2F;https:&#x2F;&#x2F;veriny.tf...</a>