Message263700
What is your use case? I think this can easily be implemented by subclassing the threading.Thread class:
class MyThread(threading.Thread):
def run(self):
# skip try...finally to make the example shorter
result = None
if self._target:
result = self._target(*self._args, **self._kwargs)
return result
We can reopen this if you can share a valid use case. Thanks for the report! |
|
Date |
User |
Action |
Args |
2016-04-18 23:23:49 | berker.peksag | set | recipients:
+ berker.peksag, pitrou, James.Lu |
2016-04-18 23:23:49 | berker.peksag | set | messageid: <1461021829.08.0.493109534917.issue18591@psf.upfronthosting.co.za> |
2016-04-18 23:23:49 | berker.peksag | link | issue18591 messages |
2016-04-18 23:23:48 | berker.peksag | create | |
|