[Python-Dev] Bug or feature? Unicode vs t# (original) (raw)

Tim Peters tim@zope.com
Wed, 10 Oct 2001 18:43:16 -0400


Here in current CVS Python:

import binascii binascii.hexlify(u'a') '6100'

In 2.1.1, it's '61' instead. I don't know what ought to happen, but 2.1.1 suprised me less. binascii inherits its view of the argument via PyArg_ParseTuple's t# code.