I was using a hash view and ran into a problem where I could delete a row using the key:

del hashview[hashview.find(id=x)]
assert hashview.find(id=x) == -1

worked correctly but:

hashview.select(id=x)
return a row!

Also
for row in hashview:
    assert row.id=x

would fail. I rebuilt the hashtables by dropping them and reassigning the hash view. Has anybody else seen this problem? I might have accidentally futzed with the underlying view instead of the hashview...

Brian


_______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit

Reply via email to