Cost of "unicode(s)" where s is Unicode

Aahz aahz at pythoncraft.com
Sun Jan 6 12:53:21 EST 2008


In article <70b9f250-a7b5-423e-8395-d0c4215d2564 at d70g2000hsb.googlegroups.com>,
JKPeck  <JKPeck at gmail.com> wrote:
>
>>>> u = u"abc"
>>>> uu = unicode(u)
>>>> u is uu
>True
>>>> s = "abc"
>>>> ss = unicode(s)
>>>> s is ss
>False

You uuencode Unicode?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Sorry, couldn't resist the alliteration



More information about the Python-list mailing list