Skip to content
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

base64.decodestring is depricated in Python 3.1 and is removed in 3.9 #53

Open
frydaho opened this issue Oct 16, 2022 · 0 comments
Open

Comments

@frydaho
Copy link

frydaho commented Oct 16, 2022

After installing I received this error from line 93 in feedparser.py:

_base64decode = getattr(base64, 'decodebytes', base64.decodestring) AttributeError: module 'base64' has no attribute 'decodestring'

I can't seem to create a new pull request, or I would just push my changes... Very easy fix: just change the end of line 94 to read base64.decodebytes and everything runs like a dream.

Thanks for writing this! It's very awesome. :)

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