[issue32564] Syntax error on using variable async
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 = 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 <https://bugs.python.org/issue32564> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32564] Syntax error on using variable async
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't be launched on Python 3.7a4 -- ___ Python tracker <https://bugs.python.org/issue32564> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32564] Syntax error on using variable async
Change by Andrew Olefira : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue32564> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com