[ python-Bugs-761267 ] Failure in comparing unicode string

SourceForge.net noreply at sourceforge.net
Tue Dec 30 06:28:41 EST 2003


Bugs item #761267, was opened at 2003-06-26 18:02
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=761267&group_id=5470

Category: Unicode
Group: Python 2.2.3
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Stephen Brown (skbrown1975)
Assigned to: Nobody/Anonymous (nobody)
Summary: Failure in comparing unicode string

Initial Comment:
Received a SystemError: C:\Code\22
\Objects\longobject.c:231: bad argument to internal 
function

The code was "if items[0] == self.InfoShareName:" 
where items is an array of strings and 
self.InfoShareName is a unicode string declared by 
self.InfoShareName = unicode(ShareName)

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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-12-30 12:28

Message:
Logged In: YES 
user_id=21627

Closing as not reproducable.

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

Comment By: M.-A. Lemburg (lemburg)
Date: 2003-06-28 16:01

Message:
Logged In: YES 
user_id=38388

I can't see how your code could possibly cause the error
you indicate. Please provide an executable example with
real data.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-06-27 05:01

Message:
Logged In: YES 
user_id=33168

Can you attach a file which demonstrates this bug.  I cannot
reproduce it.

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

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



More information about the Python-bugs-list mailing list