This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author merrellb
Recipients merrellb
Date 2017-08-13.04:58:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502600292.75.0.87512622225.issue31192@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 492 lists the following under "valid syntax" and yet 3.5.2 raises a SyntaxError:

def foo():
    return await coro()

but this works:

def bar():
    return await (coro())
History
Date User Action Args
2017-08-13 04:58:12merrellbsetrecipients: + merrellb
2017-08-13 04:58:12merrellbsetmessageid: <1502600292.75.0.87512622225.issue31192@psf.upfronthosting.co.za>
2017-08-13 04:58:12merrellblinkissue31192 messages
2017-08-13 04:58:11merrellbcreate