Mark Dickinson added the comment: Looking at the source, there's also an issue with complex subclasses here:
>>> class C(complex): ... pass ... >>> complex(C(-0j)) (-0+0j) >>> complex(-0j) (-0-0j) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29602> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com