A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017897.html below:

[Python-Dev] Bug or feature? Unicode vs t#

[Python-Dev] Bug or feature? Unicode vs t# [Python-Dev] Bug or feature? Unicode vs t#Paul Prescod paulp@ActiveState.com
Thu, 11 Oct 2001 14:15:14 -0700
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