You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* PEP 492 syntax: `async def` and `await`.
* Fix type errors; add async for and async with (not fully fledged).
* Dispose of Async{For,With}Stmt -- use is_async flag instead.
* Basic `async for` is working.
* Clear unneeded TODOs.
* Fledgeling `async with` support.
* Disallow `yield [from]` in `async def`.
* Check Python version before looking up typing.Awaitable.
Ensure 'async def' is a syntax error in Python 2 (at least with the fast parser).
* Vast strides in accuracy for visit_await_expr().
* Add `@with_line` to PEP 492 visit function definitions.
* Fix tests now that errors have line numbers.
* Tweak tests for async/await a bit.
* Get rid of remaining XXX issues.
is_generator_return_type() now takes an extra is_coroutine flag.
* Move PEP 492 nodes back where they belong.
* Respond to code review.
* Add tests expecting errors from async for/with.
* Test that await <generator> is an error.
* Verify that `yield from` does not accept coroutines.
This revealed a spurious error "Function does not return a value", fixed that.
* Disallow return value in generator declared as -> Iterator.
* Fix typo in comment.
* Refactor visit_with_stmt() into separate helper methods for async and regular.
Also Use get_generator_return_type() instead of manually unpacking the value.
* Fix lint error. Correct comment about default ts/tr.
* Improve errors when __aenter__/__aexit__ are not async. With tests.
* Refactor: move all extraction of T from Awaitable[T] to a single helper.
* Follow __await__ to extract t from subclass of Awaitable[t].
* Make get_generator_return_type() default to AnyType() (i.e. as it was).
* Fix test to match reverting get_generator_return_type() to default to Any.
* Rename get_awaitable_return_type() to check_awaitable_expr(), update docstring.
0 commit comments