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 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.
History
Date User Action Args
2011-04-11 02:29:48rnksetrecipients: + rnk, gregory.p.smith, pitrou, vstinner, neologix, python-dev
2011-04-11 02:29:48rnksetmessageid: <1302488988.7.0.734017284331.issue11757@psf.upfronthosting.co.za>
2011-04-11 02:29:48rnklinkissue11757 messages
2011-04-11 02:29:48rnkcreate