[Python-Dev] Bug or feature? Unicode vs t# (original) (raw)
Tim Peters tim@zope.com
Wed, 10 Oct 2001 18:43:16 -0400
- Previous message: [Python-Dev] Type checks of instance variables
- Next message: [Python-Dev] Bug or feature? Unicode vs t#
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Type checks of instance variables
- Next message: [Python-Dev] Bug or feature? Unicode vs t#
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]