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

threading.Thread.isAlive is removed in Python 3.9 #39

Closed
tirkarthi opened this issue Jan 2, 2020 · 1 comment · Fixed by #41
Closed

threading.Thread.isAlive is removed in Python 3.9 #39

tirkarthi opened this issue Jan 2, 2020 · 1 comment · Fixed by #41

Comments

@tirkarthi
Copy link
Contributor

isAlive was deprecated and removed in Python 3.9 with python/cpython#15225 . Use is_alive for Python 3.9 compatibility. I will raise a PR for this.

python -m paste.httpserver
serving on http://127.0.0.1:8888
^C
/home/xtreak/anaconda3/envs/nose2-venv/lib/python3.8/site-packages/paste/httpserver.py:955: DeprecationWarning: isAlive() is deprecated, use is_alive() instead
  if worker.isAlive():
@tirkarthi tirkarthi changed the title isAlive is removed in Python 3.9 threading.Thread.isAlive is removed in Python 3.9 Jan 2, 2020
@cdent
Copy link
Collaborator

cdent commented Jan 2, 2020

Thanks for raising this and offering to provide a fix.

As you've probably read elsewhere in the repo: my efforts here are to keep paste only on life support, and not much more, so that people will stop using it. But as people are willing to provide fixes, I'm happy to merge them and keep on doing some releases.

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

Successfully merging a pull request may close this issue.

2 participants