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

python 3.8 replace async with async_ #26

Open
time4e opened this issue Jan 1, 2022 · 0 comments
Open

python 3.8 replace async with async_ #26

time4e opened this issue Jan 1, 2022 · 0 comments

Comments

@time4e
Copy link

time4e commented Jan 1, 2022

Just an fyi I've been running retweet-bot for sometime now under FreeBSD 12 using 3.5, 3.5 is now longer available in FreeBSD 13-release and when running python retweet-bot under 3.8 the following error occurred

  File "/usr/local/lib/python3.8/site-packages/tweepy/streaming.py", line 357
    if async:
       ^
SyntaxError: invalid syntax

This fix for this was rather simple and that was just to replace all lines containing async with async_ in the referenced streaming.py after that retweeting now works as expected.

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