Hi list, I'm experiencing something weird here. Here's some sample code:
from imdb import IMDb i = IMDb('sql', uri=[...snip...]) m = i.search_movie("Land of the Tiger") def d(matches, match): i.update(match) print repr(matches[1]["title"]) for idx in xrange(len(m)): d(m, m[idx]) ...so passing 'm' (the list of matches) to the function 'd' every time. This is non-destrucable behiavour, AFAIK. Please explain this output: u'Land of the Nile' u'Ard el Nil' u'Ard el Nil' ... u'Ard el Nil' u'Ard el Nil' ...why is the first match "Land of the Nile", but the rest of them are "Ard el Nil"? Looks like a bug. -- Jesper ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel