Skip to content

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

Closed

Description

@tirkarthi

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():

Activity

  1. changed the title [-]isAlive is removed in Python 3.9[/-] [+]threading.Thread.isAlive is removed in Python 3.9[/+] on Jan 2, 2020
  2. cdent commented on Jan 2, 2020

    @cdent
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions