Closed r-b-g-b closed 6 years ago
Python 3 looooves generators. Everything is a generator. Nothing is a list. lsdir relies on dict.values() and map to return lists, but in python3 they are dict_values and generator. Force these things to be lists in python2 and 3.
dict.values()
map
dict_values
generator
Python 3 looooves generators. Everything is a generator. Nothing is a list. lsdir relies on
dict.values()
andmap
to return lists, but in python3 they aredict_values
andgenerator
. Force these things to be lists in python2 and 3.