Serhiy Storchaka added the comment: See example in msg205740. The same works with overridden __unicode__. I'm writing tests now. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23583> _______________________________________