[Python-Dev] bytes / unicode

Benjamin Peterson benjamin at python.org
Sun Jun 20 23:55:03 CEST 2010


2010年6月20日 Antoine Pitrou <solipsis at pitrou.net>:
> On 2010年6月20日 14:40:56 -0400
> "P.J. Eby" <pje at telecommunity.com> wrote:
>>>> Actually, I would say that it's more that (in the network protocol
>> case) we *have* bytes, some of which we would like to *treat* as
>> text, yet do not wish to constantly convert back and forth to
>> full-blown unicode
>> Well, then why don't you just stick with a bytes object?

There are not many tools for treating bytes as text.
-- 
Regards,
Benjamin


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /