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 berker.peksag
Recipients berker.peksag, docs@python, rsw
Date 2017-11-01.07:51:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509522682.03.0.213398074469.issue31390@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for your report. Prior to Python 3.7, async and await keywords have had special meanings and they weren't treated as normal keywords. They are now in Python 3.7:

>>> async = 42
  File "<stdin>", line 1
    async = 42
          ^
SyntaxError: invalid syntax

And they are listed as keywords:

$ ./python -m pydoc keywords

Here is a list of the Python keywords.  Enter any keyword to get more help.

False               class               from                or
None                continue            global              pass
True                def                 if                  raise
and                 del                 import              return
as                  elif                in                  try
assert              else                is                  while
async               except              lambda              with
await               finally             nonlocal            yield
break               for                 not                 

So I don't think we should modify pydoc to list them as keywords in Python 3.6.
History
Date User Action Args
2017-11-01 07:51:22berker.peksagsetrecipients: + berker.peksag, docs@python, rsw
2017-11-01 07:51:22berker.peksagsetmessageid: <1509522682.03.0.213398074469.issue31390@psf.upfronthosting.co.za>
2017-11-01 07:51:22berker.peksaglinkissue31390 messages
2017-11-01 07:51:21berker.peksagcreate