Skip to content

Temporary directory that isn't automatically removed #220

@MaddyGuthridge

Description

@MaddyGuthridge

Currently, it appears to be impossible to create a temporary directory which isn't removed when the context manager exits. This is because the function equivalents of the standard library's tempfile.mkdtemp and similar do not exist in aiofiles.

I have tried to work around by doing things such as patching the context-managers __aexit__ method, but I have not managed to remove this auto-deletion functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions