Kasra Vand <kasraav...@gmail.com> added the comment:

I think this will contradict to Python's operators precedence. What I mentioned 
seems like you're passing the number as an argument to `not`, and this is while 
`not` is not a function. There is an `operator.not_` function that does the 
same job as expected though.

Now I see why it's not efficient and wise to do so. This is violation of  
operators precedence.

----------

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

Reply via email to