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() <wink>. 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4