Deprecation warnings for the future async and await keywords

Marco Buttu marco.buttu at gmail.com
Fri Jan 22 06:12:51 EST 2016


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?
-- 
Marco Buttu



More information about the Python-list mailing list