Skip to content

Remove typing.AwaitableGenerator #3932

Description

@hauntsaninja

As mentioned in the code, AwaitableGenerator doesn't exist in typing.py or PEP 484.

# NOTE: This type does not exist in typing.py or PEP 484.

It appears it's an "intentionally undocumented" implementation detail of mypy, as mentioned in python/mypy#2907. Ideally, these shouldn't leak into typeshed. I've created issue python/mypy#8699 in mypy, since that's where action needs to be taken first, but keeping an issue here for tracking.

Activity

  1. hauntsaninja commented on Jun 11, 2020

    @hauntsaninja
    CollaboratorAuthor

    Similar to #3556 and #2999

  2. AlexWaygood commented on Jun 12, 2022

    @AlexWaygood
    Member

    I'm closing this as we now have #7580, and I don't think we need both issues to be open when they're about the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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