Greg Ewing <[EMAIL PROTECTED]> wrote:
>    u = unicode(b)
>    u = unicode(b, 'utf8')
>    b = bytes['utf8'](u)
>    u = unicode['base64'](b)   # encoding
>    b = bytes(u, 'base64')     # decoding
>    u2 = unicode['piglatin'](u1)   # encoding
>    u1 = unicode(u2, 'piglatin')   # decoding

Your provided semantics feel cumbersome and confusing to me, as compared
with str/unicode.encode/decode() .

 - Josiah

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to