[Python-Dev] Bug or feature? Unicode vs t# (original) (raw)
Barry A. Warsaw barry@zope.com
Thu, 11 Oct 2001 17:24:40 -0400
- 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 ]
"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
- 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 ]