Deprecation warnings for the future async and await keywords

Ian Kelly ian.g.kelly at gmail.com
Fri Jan 22 10:59:49 EST 2016


On Fri, Jan 22, 2016 at 4:12 AM, Marco Buttu <marco.buttu at gmail.com> wrote:
> I enabled the deprecation warnings in Python 3.5.1 and Python 3.6 dev, and I
> noticed that assigning to async or await does not issue any deprecation
> warning:
>
> $ python -Wd -c "import sys; print(sys.version); async = 33"
> 3.5.1 (default, Jan 21 2016, 19:59:28)
> [GCC 4.8.4]
> $ python -Wd -c "import sys; print(sys.version); async = 33"
> 3.6.0a0 (default:4b434a4770a9, Jan 12 2016, 13:01:29)
> [GCC 4.8.4]
>
>
> Is it normal?

They're not reserved words, see
https://www.python.org/dev/peps/pep-0492/#transition-plan



More information about the Python-list mailing list