Ethan Furman <[email protected]> added the comment: Nitish, Flag can check if the current Flag class has a mixin, and if so if the object being checked for is of that same type.
Dutcho, my apologies. Looks like I did not fully understand how __contains__ is supposed to work and a TypeError is completely appropriate. Looking into deprecation cycles now to get the change scheduled. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue33219> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
