You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix OD item lookup evaluating subobject's length (fixes#588) (#589)
If the lookup by name returns an object (not None), the boolean
expression still checks whether that object is equivalent to boolean
True. This needlessly calls the object's __len__() method, while what
we're interested in is just whether an object was found.
0 commit comments