Tinche / aiofiles

File support for asyncio
Apache License 2.0
2.76k stars 150 forks source link

Switch to more modern async idioms #176

Closed onlined closed 11 months ago

onlined commented 1 year ago

I converted AiofilesContextManager to an awaitable from a coroutine, and the interface was simplified as a result. In addition to that, open is now a proper async function and types.coroutine is not used anymore.

Tinche commented 1 year ago

LGTM, hope it doesn't break anyone unintentionally. Can you add a changelog entry?

onlined commented 1 year ago

Thanks! Added the entry.

onlined commented 11 months ago

@Tinche kind reminder

Tinche commented 11 months ago

Thanks!