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

Python 3.10: Threading related deprecations #95

Open
tirkarthi opened this issue May 11, 2021 · 0 comments · May be fixed by #97
Open

Python 3.10: Threading related deprecations #95

tirkarthi opened this issue May 11, 2021 · 0 comments · May be fixed by #97

Comments

@tirkarthi
Copy link
Contributor

Using camelcase methods have been deprecated in Python 3.10

Ref : python/cpython#25174

currentThread -> current_thread
getName -> name

rg -t py -w 'currentThread|notifyAll|activeCount|isDaemon|setDaemon'
twiggy/lib/__init__.py
7:    return threading.currentThread().getName()
@tirkarthi tirkarthi linked a pull request May 16, 2021 that will close this issue
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.

1 participant