New submission from Jelle Zijlstra:

PEP 525 async generators weren't added to typing.py, probably by oversight.

I sent pull requests to typing and typeshed on GitHub to add an AsyncGenerator 
class and stub:
- https://github.com/python/typing/pull/346
- https://github.com/python/typeshed/pull/815

However, typing docs are not in GitHub, so I'm attaching a doc patch here.

----------
components: Library (Lib)
files: asyncgenerator.patch
keywords: patch
messages: 284937
nosy: Jelle Zijlstra, gvanrossum, yselivanov
priority: normal
severity: normal
status: open
title: AsyncGenerator is missing from typing
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46202/asyncgenerator.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29198>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to