This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Failure in comparing unicode string
Type: Stage:
Components: Unicode Versions: Python 2.2
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: lemburg, loewis, nnorwitz, skbrown1975
Priority: normal Keywords:

Created on 2003-06-26 16:02 by skbrown1975, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (4)
msg16605 - (view) Author: Deleted User skbrown1975 (skbrown1975) Date: 2003-06-26 16:02
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)
msg16606 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-06-27 03:01
Logged In: YES 
user_id=33168

Can you attach a file which demonstrates this bug.  I cannot
reproduce it.
msg16607 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2003-06-28 14:01
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.
msg16608 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-12-30 11:28
Logged In: YES 
user_id=21627

Closing as not reproducable.
History
Date User Action Args
2022-04-10 16:09:26adminsetgithub: 38715
2003-06-26 16:02:13skbrown1975create