Mark Dickinson <dicki...@gmail.com> added the comment:
If the goal is to have `isinstance(obj, typing.SupportsComplex)` pass for objects that are convertible to complex, then we'll need `int.__complex__` and `float.__complex__` implementations as well as `complex.__complex__`. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue24234> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com