Fred Drake <fdr...@gmail.com> added the comment:
And that is why the original code was checking not only for the type, but the actual __repr__ method itself. I think the current behavior is broken. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39994> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com