[Python-bugs-list] [ python-Bugs-470072 ] Change in Unicode response to t#

noreply@sourceforge.net noreply@sourceforge.net
Wed, 10 Oct 2001 18:29:35 -0700


Bugs item #470072, was opened at 2001-10-10 18:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=470072&group_id=5470

Category: Unicode
Group: None
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Change in Unicode response to t#

Initial Comment:
Test case:

import binascii
h = binascii.b2a_hex(u'a')
print `h`

Under 2.0.1 and 2.1.1, this produces '61'.  Under 
current CVS, '6100'.

I tried on Windows, and Barry confirmed the same on 
Linux.  b2a_hex hasn't changed; instead it looks like 
Unicode objects have changed what they return to 
PyArg_ParseTuple in response to the 't#' code.

Bug or feature?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=470072&group_id=5470