# Bug report ### Bug description: AsyncIterator was removed from `_PROTO_ALLOWLIST` by https://github.com/python/cpython/pull/15647, without any discussion. It looks like an accident to me. ```python from typing import AsyncIterator, Protocol class MyProto(AsyncIterator, Protocol): ... ``` result: ``` TypeError: Protocols can only inherit from other protocols, got <class 'collections.abc.AsyncIterator'> ``` ### CPython versions tested on: 3.12 ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-126702 * gh-126761 * gh-126762 <!-- /gh-linked-prs -->
Bug report
Bug description:
AsyncIterator was removed from
_PROTO_ALLOWLISTby #15647, without any discussion. It looks like an accident to me.result:
CPython versions tested on:
3.12
Operating systems tested on:
macOS
Linked PRs