spurious IndexError [interfacing with swig generated code]
jonathan at webtop.com
jonathan at webtop.com
Tue Jun 5 06:47:39 EDT 2001
Hi
We've been using swig to generate a python binding to a company
C++ class library.
I've spotted a bug/problem which occurs in the following code :
[call to unrelated SWIG generated constructor]
w ="article";
v ="articl";
print w==v; # fails here with a spurious IndexError (list index out of range)
Has anyone seen a similar problem before, or know a fix?
Jon
More information about the Python-list
mailing list