Michael Droettboom <mdroe@...83...> writes:
It shouldn't always return True -- it should return a tuple of type
(bool, dict). The first element is whether it's inside, and the second
is a dictionary of indices of subobjects (used only for Collections).
Unfortunately, this tuple always evaluates to True. Have you tried
changing your contains test from ".contains()" to ".contains()[0]"?If that's not what's happening for you, can you send a self-contained
example that illustrates this bug?(I noticed the looking_glass.py example has this bug -- I'll fix that.)
Mike
You're right. I keep making these dumb mistakes... This time it was made worst
cause the looking_glass.py example did the same.
Jorge