On Fri, 2007-05-25 at 19:53 +1000, Malcolm Tredinnick wrote:
> On Fri, 2007-05-25 at 11:32 +0200, Michael Radziej wrote:
> > Hi Malcolm,
> > 
> > I'm having a bit of a problem with a strange autoescape test,
> > i.e. filter-syntex18 (taken over from templates).
> > 
> > The test uses a weird class:
> > 
> > class UnicodeInStrClass:
> >     "Class whose __str__ returns a Unicode object."
> >     def __str__(self):
> >         return u'ŠĐĆŽćžšđ'
> 
> Oh! I'd forgotten that guy was still there. :-(
> 
> I need to remove/fix that, because it's based on a false premise: you
> cannot return a Unicode string from __str__: Python will always coerce
> it to the str type.
> 
> Since I've just crossed the last item off my TODO list for today, I'll
> fix this now.

Michael, update to [5343] and things should work more smoothly.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to