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

noreply@sourceforge.net noreply@sourceforge.net
Thu, 11 Oct 2001 09:28:36 -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: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Jeremy Hylton (jhylton)
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?

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

>Comment By: Jeremy Hylton (jhylton)
Date: 2001-10-11 09:28

Message:
Logged In: YES 
user_id=31392

Fixed in rev. 2.67 of getargs.c


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

Comment By: Tim Peters (tim_one)
Date: 2001-10-11 09:06

Message:
Logged In: YES 
user_id=31435

Reassigned to Jeremy, because I believe he fixed it.  
Jeremy, if you agree, please close this bug.

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

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