[Python-Dev] [Python-checkins] cpython: Fiddled Thread.join() to be a little simpler. Kinda ; -)

A.M. Kuchling amk at amk.ca
Sat Oct 26 13:29:06 CEST 2013


On Sat, Oct 26, 2013 at 05:34:05AM +0200, tim.peters wrote:
>   Fiddled Thread.join() to be a little simpler.  Kinda ;-)
> -        # else it's a negative timeout - precise behavior isn't documented
> -        # then, but historically .join() returned in this case
> +        else:
> +            # the behavior of a negative timeout isn't documented, but
> +            # historically .join() has acted as if timeout=0 then

I think the final 'then' on the new comment is an editing error.
Unless perhaps you meant to write a further sentence of comment?

--amk


More information about the Python-Dev mailing list