[issue43085] Loosening | and |= operator type checking restriction

Vedran Čačić report at bugs.python.org
Mon Feb 1 12:38:40 EST 2021


Vedran Čačić <vedgar at gmail.com> added the comment:

@Raymond: why can't ABCs have _default_ implementation of | and |=, in terms of other supported methods (such as update)? It seems to me this would be the best of both worlds.

----------
nosy: +veky

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43085>
_______________________________________


More information about the Python-bugs-list mailing list