Skip to content

trio file io on asyncio #194

@buhman

Description

@buhman

Would it be worthwhile to add subprojects under python-trio for various popular APIs
… gain the ability to run in "trio mode",

Not to suggest refactoring this all over again, but I've been thinking about #105 and #171. I think the _file_io stuff is actually pretty re-usable, even for asyncio (definitely much less scary than aiofiles anyway).

What do you think about ripping all of this back out, then making a python-trio/threaded-file-io or similar that supports creating both asyncio and trio threads (which I think is a fourth variant of #171 called *-libs-on-*, which we could also maybe apply to things like the stream API from #107).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions