Skip to content

Opening comments on vim cause error with Python 3.9 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Matts966 opened this issue Dec 29, 2020 · 0 comments
Open

Opening comments on vim cause error with Python 3.9 #1

Matts966 opened this issue Dec 29, 2020 · 0 comments

Comments

@Matts966
Copy link

Matts966 commented Dec 29, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant