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 was deperecated and removed in favor of is_alive in Python 3.9 #40

Closed
tirkarthi opened this issue Oct 13, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tirkarthi
Copy link
Contributor

Describe the bug

Threading.thread.isAlive was deperecated and removed in favor of is_alive in Python 3.9. Following places continue to use the deprecated alias causing error.

81:		return self.thread.isAlive()
152:		if self.thread.isAlive() or (not outcomereported):
160:		while self.thread.isAlive() and time.time()-starttime < timeout:
169:		if self.thread.isAlive():

Expected behavior

No error should be produced and is_alive should be used.

Affected version(s)

  • Python version(s): 3.9
  • PySys version(s): master
  • Operating System(s): Windows vX, Red Hat Linux vX, ...
@tirkarthi tirkarthi added the bug Something isn't working label Oct 13, 2020
@tirkarthi
Copy link
Contributor Author

This caused issues in Cumulocity-IoT/apama-eplapps-tools#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant