Skip to content

Conversation

@BarneyStratford
Copy link
Contributor

@BarneyStratford BarneyStratford commented Apr 24, 2022

gh-91876: In the commonest use case, a thread is simply a function that is to run asynchronously. However, it is quite a fuss to create and start the new thread. It would be much simpler and more Pythonic to simply decorate the function and then call it to create the thread.

@AlexWaygood AlexWaygood added type-feature A feature request or enhancement stdlib Standard Library Python modules in the Lib/ directory labels Apr 24, 2022
@merwok merwok linked an issue May 10, 2022 that may be closed by this pull request
@BarneyStratford
Copy link
Contributor Author

Turns out it was too soon for a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stdlib Standard Library Python modules in the Lib/ directory type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

threading.Thread is rather awkward to use

3 participants