Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Well, it works, but the priority of := is lower than priority of other 
operators. (x := item.upper() not in "ABC") is interpreted as (x := 
(item.upper() not in "ABC")).

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44223>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to