Message162398
concurrent.futures.Future.set_running_or_notify_cancel() has a reference to self.future, although Future has no future attribute. It's probably due to a copy/paste error. As it's in an error handling code path, most of the time the code is never used. Nevertheless it's worthy to fix it so that the right exception happens in case of error. This was detected by pylint.
Attaching a patch that fixes the error. |
|
Date |
User |
Action |
Args |
2012-06-06 09:05:29 | pieleric | set | recipients:
+ pieleric |
2012-06-06 09:05:29 | pieleric | set | messageid: <1338973529.66.0.217110755385.issue15015@psf.upfronthosting.co.za> |
2012-06-06 09:05:28 | pieleric | link | issue15015 messages |
2012-06-06 09:05:28 | pieleric | create | |
|