New submission from Manjusaka <lizheao940...@gmail.com>:
Hello Guys: I have tried Python 3.9.0a4, I have an issue: the __ior__ and the __or__ have different behavior For example: x={} y=[(1,2)] x|=y is right and x=x|y will raise an exception. I think it's should be better make the same between two magic method ? ---------- components: C API messages: 363045 nosy: Manjusaka priority: normal severity: normal status: open title: different behavior between __ior__ and __or__ in dict made by PEP 584 versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39806> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com