dict.keys is not set-like in Python 2