Matt Nordhoff a écrit : (snip)
I'm not judging whether this is a good solution or not, but that's a silly use of a dict.
Yeps, but a somewhat common one in code predating the apparition of sets as builtin type.
-- http://mail.python.org/mailman/listinfo/python-list