vim-hackernews icon indicating copy to clipboard operation
vim-hackernews copied to clipboard

Opening comments on vim cause error with Python 3.9

Open Matts966 opened this issue 4 years ago • 0 comments
trafficstars

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/Matts966/.vim/plugged/vim-hackernews/ftplugin/hackernews.py", line 272, in link
    print_comments(item['comments'])
  File "/Users/Matts966/.vim/plugged/vim-hackernews/ftplugin/hackernews.py", line 342, in print_c
omments
    p = html.unescape(p)
AttributeError: 'HTMLParser' object has no attribute 'unescape'

This can be fixed by using VIm that uses Python 3.8 for now.

Matts966 avatar Dec 29 '20 13:12 Matts966