[Python-Dev] __str__ vs. __unicode__

Walter Dörwald walter at livinglogic.de
Fri Jan 21 13:10:03 CET 2005


M.-A. Lemburg wrote:

 > [...]
> __str__ and __unicode__ as well as the other hooks were
> specifically added for the type constructors to use.
> However, these were added at a time where sub-classing
> of types was not possible, so it's time now to reconsider
> whether this functionality should be extended to sub-classes
> as well.

So can we reach consensus on this, or do we need a
BDFL pronouncement?

Bye,
    Walter Dörwald


More information about the Python-Dev mailing list