Fixed in subversion. Please do review r56252 to see that I did the right thing.

On 7/11/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> Yeah, I'm looking in to this right now. What a mess! But I'm close to a fix.
>
> There's more that causes test_descr to fail however. Bleh, what a
> terrible unit test -- it doesn't use the unittest module, and a single
> failure aborts the rest of the test.
>
> --Guido
>
> On 7/11/07, Walter Dörwald <[EMAIL PROTECTED]> wrote:
> > Christian Heimes wrote:
> >
> > > I found a bug in the str type that may affect a lot of tests.
> > >
> > > In the py3k-struni branch the str() constructor doesn't use __str__ when
> > > the argument is an instance of a subclass of str. A user defined string
> > > can't change __str__(). The __repr__ method isn't affected.
> >
> > This hasn't been rewired yet. Behind the covers str still behaves like
> > unicode, i.e. it uses __unicode__ for conversion.
> >
> > Servus,
> >     Walter
> > _______________________________________________
> > Python-3000 mailing list
> > Python-3000@python.org
> > http://mail.python.org/mailman/listinfo/python-3000
> > Unsubscribe: 
> > http://mail.python.org/mailman/options/python-3000/guido%40python.org
> >
>
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to