[Python-Dev] Bug or feature? Unicode vs t# (original) (raw)
Paul Prescod paulp@ActiveState.com
Thu, 11 Oct 2001 14:15:14 -0700
- Previous message: [Python-Dev] Bug or feature? Unicode vs t#
- Next message: [Python-Dev] Bug or feature? Unicode vs t#
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Peters wrote:
[Paul Prescod] > What is the use case for treating a Unicode object as if it were a > buffer of bytes by translating it to the default encoding? Obviously, so that you can pass it to binascii.hexlify() .
This is NOT a question about hexlify. It is a question about t#! Or getcharbuffer. Or something.
My real question is whether there is any value in having Unicode objects expose their internal representation to Python programmers through the buffer interface?
Paul Prescod
- Previous message: [Python-Dev] Bug or feature? Unicode vs t#
- Next message: [Python-Dev] Bug or feature? Unicode vs t#
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]