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
Not just list, and tuple, thinks like set... should work.
More generally you should fix parse_notifier_name.
And technically it should allow any container that implement __contains__ I guess. And parse_notifier_name should not blindly return nothing (ie None) if the type of argument is not one of the accepted argument. It shoudl raise a meaningful error.
The text was updated successfully, but these errors were encountered:
Carreau
changed the title
Observer should allow any iterable containers. observe should allow any iterable containers.
May 16, 2016
Not just
list
, andtuple
, thinks likeset
... should work.More generally you should fix
parse_notifier_name
.And technically it should allow any container that implement
__contains__
I guess. Andparse_notifier_name
should not blindly return nothing (ieNone
) if the type of argument is not one of the accepted argument. It shoudl raise a meaningful error.The text was updated successfully, but these errors were encountered: