This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients Sergei Maertens, asvetlov, bquinlan, erickpeirson, pitrou, serhiy.storchaka, yselivanov
Date 2022-02-01.09:10:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643706618.72.0.665827260082.issue45339@roundup.psfhosted.org>
In-reply-to
Content
I guess if you are asking for initialization and finalization of thread-specific data in a thread pool -- you need exactly these things (or a context manager).
A custom thread class reveals too many implementation details.
I personally prefer an explicit initializer/finalizer based approach.
History
Date User Action Args
2022-02-01 09:10:18asvetlovsetrecipients: + asvetlov, bquinlan, pitrou, serhiy.storchaka, yselivanov, Sergei Maertens, erickpeirson
2022-02-01 09:10:18asvetlovsetmessageid: <1643706618.72.0.665827260082.issue45339@roundup.psfhosted.org>
2022-02-01 09:10:18asvetlovlinkissue45339 messages
2022-02-01 09:10:18asvetlovcreate