Closed puppriss closed 5 years ago
thanks @puppriss looks good. It probably makes sense to just drop support for python 2, yes? since python 2 is end of life soon https://pythonclock.org/
@sckott yes that's probably the way forward, although it wouldn't change the fix in this particular case.
correct, wasn't saying it changes this PR, just curious if you agreed
Indexing dictionary keys, e.g. dict.keys()[0], yields the Python3 error TypeError: 'dict_keys' object does not support indexing
Using list(dict.keys())[0] works in Py2 & 3