[issue32564] Syntax error on using variable async

2018-01-16 Thread Andrew Olefira
New submission from Andrew Olefira : 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 "", line 2 async

[issue32564] Syntax error on using variable async

2018-01-16 Thread Andrew Olefira
Andrew Olefira added the comment: Yes, I understand, but "not recommended" != "not allowed". For example library Pika (https://pypi.python.org/pypi/pika) use variable "async", so no one project that use lib Pika can

[issue32564] Syntax error on using variable async

2018-01-16 Thread Andrew Olefira
Change by Andrew Olefira : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue32564> ___ ___