Terry J. Reedy added the comment:

I don't see what you have in mind.  Translating my example

class S(str):
    def __str__(self):
        return 'S: ' + str.__str__(self)

to

class U(unicode):
    def __unicode__(self):
        return u'U: ' + unicode.__unicode__(self)

does not work because there is no unicode.__unicode__.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23583>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to