[Python-Dev] bytes (original) (raw)
[Python-Dev] bytes / unicode
Benjamin Peterson benjamin at python.org
Sun Jun 20 23:55:03 CEST 2010
- Previous message: [Python-Dev] bytes / unicode
- Next message: [Python-Dev] bytes / unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/6/20 Antoine Pitrou <solipsis at pitrou.net>:
On Sun, 20 Jun 2010 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
- Previous message: [Python-Dev] bytes / unicode
- Next message: [Python-Dev] bytes / unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]