Skip to content

a contextlib alternative #159

@jorenham

Description

@jorenham

some problems with the contextlib types

  • AbstractContextManager and AbstractAsyncContextManager are ridiculously verbose, and have the same abc issues as collections.,abc
  • @contextmanager returns a _GeneratorContextManager, which is roughly equivalent AbstractContextManager & ContextDecorator

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions