Skip to content

Support PEP 492 syntax #1453

Closed
Closed

Description

@gvanrossum

In PEP 492 some new syntax is introduced: async def, await, async for, async with. These are live in Python 3.5.2. Once the fast parser lands (#1353) we should support these. See also python/typing#119; the tl;dr is that we should support

async def foo() -> str:
    return ''

Activity

  1. gvanrossum commented on Jul 27, 2016

    @gvanrossum
    MemberAuthor

    The first half of the implementation has been committed now: PR #1808 added support for async def, await, async for and async with. The second half of the implementation will hopefully follow soon: see PR #1946 .

  2. added a commit that references this issue on Aug 3, 2016
    340d34e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions