Having a dict like d = {'one': 1, 'two': 2} the representation of its keys repr(d.keys()) gives "dict_keys(['one', 'two'])"
But since the keys are unique, wouldn't a representation using the set notation be more intuitive, i.e. what about changing the output of dict_keys.__repr__ to
"dict_keys({'one', 'two'})" (using curly braces instead of brackets) Wolfgang -- https://mail.python.org/mailman/listinfo/python-list