Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

'Thread' object has no attribute 'isAlive' #328

Open
@EBoiSha

Description

Hi!

In "/usr/local/lib/python3.9/site-packages/pattern/web/init.py" we have isAlive() in line 224. Running the asynchronous requests example from pattern web it throws:

Traceback (most recent call last):
File "/Users/eyoshi/Python/Pattern/pattern_web_example.py", line 20, in
while not request.done:
File "/usr/local/lib/python3.9/site-packages/pattern/web/init.py", line 224, in done
return not self._thread.isAlive()
AttributeError: 'Thread' object has no attribute 'isAlive'

isAlive needs to be changed to is_alive() here.

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

        AltStyle によって変換されたページ (->オリジナル) /