Author pieleric
Recipients pieleric
Date 2012-06-06.09:05:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338973529.66.0.217110755385.issue15015@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-06-06 09:05:29pielericsetrecipients: + pieleric
2012-06-06 09:05:29pielericsetmessageid: <1338973529.66.0.217110755385.issue15015@psf.upfronthosting.co.za>
2012-06-06 09:05:28pielericlinkissue15015 messages
2012-06-06 09:05:28pielericcreate