Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Replace deprecated threading aliases #1133

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Jun 13, 2022

Summary

Replace deprecated threading aliases.

Details and comments

threading.currentThread and notifyAll were deprecated in Python 3.10 (October 2021) and will be removed in Python 3.12 (October 2023).

Replace with threading.current_thread, notify_all added in Python 2.6 (October 2008).

Copy link
Member

@rathishcholarajan rathishcholarajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks a lot @hugovk!

@rathishcholarajan rathishcholarajan merged commit 61d7f30 into Qiskit:master Jun 20, 2022
@hugovk hugovk deleted the fix-threading-deprecation branch June 20, 2022 18:00
@rathishcholarajan rathishcholarajan added the Changelog: Bugfix Include in the Fixed section of the changelog label Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog: Bugfix Include in the Fixed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants