Commit Graph

5 Commits

Author SHA1 Message Date
Jelle Zijlstra
97c6806582 Revert "Awaitable.__await__ should accept an Iterator rather than a Generator (#5194)" (#5195)
This reverts commit c687e297ec.
2021-04-09 09:49:39 +02:00
Wilfredo Sánchez Vega
c687e297ec Awaitable.__await__ should accept an Iterator rather than a Generator (#5194)
Fixes #5125
2021-04-09 01:43:46 +02:00
Eric Traut
e2967a8bee Eliminated the use of "bare" TypeVars in stdlib stubs (#5041)
Eliminated the use of "bare" TypeVars (i.e. a TypeVar that appears only once) within generic methods. While not considered an error in PEP 484, these are a common source of bugs in code, and some type checkers (including pytype and pyright) flag them as errors.

Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-02-27 19:43:45 -08:00
Eric Traut
ffcd592aef Added support for | operator for combining two TypedDict instances (#5054)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-02-23 10:04:31 +01:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00