Skip to content

Using context managers #394

Open
Open
@almarklein

Description

@almarklein

There's a few places where the API could be made more Pythonic by supporting context managers.

Use-cases:

  • The buffer.map() and buffer.unmap() is pretty obvious.
  • Maybe some part of the command encoders (which have .end()), and/or the queue.

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