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/017898.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#Barry A. Warsaw barry@zope.com
Thu, 11 Oct 2001 17:24:40 -0400
>>>>> "M" == M  <mal@lemburg.com> writes:

    M> Well, the question is whether hexlify() should use "t#" which
    M> is specifically intended to return *character* data and not
    M> "s#" which means *binary* data. I think the latter is more
    M> appropriate for hexlify() as its intention is to encode binary
    M> data.

And I think I agree, even though that /could/ break code.  Then again,
maybe Paul's suggestion that hexlify() should reject Unicode strings
is the better approach.

-Barry



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