New submission from Andrew Olefira <andrew.olef...@gmail.com>:

In python 3.6 you can use name "async" for variable:
>>> class A:
...     async = True
... 
>>> 

but in python 3.7a4 you catch syntax error:
>>> class A:
...     async = True
  File "<stdin>", line 2
    async = True
          ^
SyntaxError: invalid syntax
>>>

----------
messages: 310045
nosy: Andrew Olefira
priority: normal
severity: normal
status: open
title: Syntax error on using variable async
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32564>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to