Message133497
| Author |
rnk |
| Recipients |
gregory.p.smith, neologix, pitrou, python-dev, rnk, vstinner |
| Date |
2011年04月11日.02:29:48 |
| SpamBayes Score |
2.1886239e-05 |
| Marked as misclassified |
No |
| Message-id |
<1302488988.7.0.734017284331.issue11757@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think the best behavior would be to go ahead and check one last time before raising the exception, so _remaining_time should turn a negative value into 0 (assuming that a timeout value of zero does the right thing for our use case).
If people don't feel that is best, refactoring _remaining_time to incorporate the check in _check_timeout would also be good. |
|