[Python-Dev] bytes type (original) (raw)
Guido van Rossum guido at python.org
Mon Oct 3 23:02:37 CEST 2005
- Previous message: [Python-Dev] bytes type
- Next message: [Python-Dev] bytes type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/3/05, Antoine Pitrou <solipsis at pitrou.net> wrote:
Could the "bytes" type be just the same as the current "str" type but without the implicit unicode conversion ? Or am I missing some desired functionality ?
No. It will be a mutable array of bytes. It will intentionally resemble strings as little as possible. There won't be a literal for it.
But you will be able to convert between bytes and strings quite easily by specifying an encoding.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] bytes type
- Next message: [Python-Dev] bytes type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]