[New-bugs-announce] [issue32564] Syntax error on using variable async
Andrew Olefira
report at bugs.python.org
Tue Jan 16 03:35:47 EST 2018
New submission from Andrew Olefira <andrew.olefira at 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 <report at bugs.python.org>
<https://bugs.python.org/issue32564>
_______________________________________
More information about the New-bugs-announce
mailing list