ternjs/tern_for_vim

Python errors `module 'string' has no attribute 'join'` when doing TernRename

Closed this issue · 2 comments

I am using windows 10 and vim 8.0 64bit.
Here is the screenshot:
aa
I am totally sure it is something related to difference between python 2 and python3.
Actually, no errors within python 2.
But in case of python3, "".join(lines) should be the correct way.

Python 2.7 seems to also support "".join. Does attached patch help for you?

Python 2.7 seems to also support "".join. Does attached patch help for you?

Yes. The patch solves the problem. Effectively, Python 2.7 also supports "".join.