__dir__ in client.py no longer returns a list in python 3
fanmingyu212 opened this issue · 0 comments
fanmingyu212 commented
IPython tab complete no longer works with python 3.6. It worked previously in python 2.7.
Calling the list()
constructor on the key()
generator in the following line solves the issue.
Line 242 in edce74b
Changed code so autocomplete work:
return sorted(set(list(self._attrs.keys()) + list(self.__dict__.keys()) + dir(type(self))))