Shannon -jj Behrens wrote:
> 
> The following is even better:
> 
>     if isinstance(component, basestring)

Not sure if Mike is still taking patches for Myghty (the old technology!), but 
I'll see - if I didn't have >130 templates/components I would be moving sooner 
rather than later, to Mako or maybe even Breve as I find that approach 
intriguing/appealing.

> 
> I think it's good policy to use Unicode objects all over the place
> inside your app and then either call str or .encode "on the edges of
> your application".  It seems to me that it's better to use str when
> looking up the right component than it is to turn off unicode
> completely.

Agreed.

> 
> My $0.02 (what's that in Australia?),

It used to be about $AU0.04, but what with the economic conditions in the US 
and 
AUS, as of yesterday it was $AU0.024119633 :-/

Robert


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to