That's what I was looking for. Thanks for the tip! Andrew Remco Gerlich wrote: > > In that case, I don't see what else could raise TypeError though. > > But you can try more explicitly with: > > try: > hash(valList[i]) > except TypeError: > ... > >