[Python-ideas] PEP 3156 / Tulip: stopping the loop while in run_until_complete

Saúl Ibarra Corretgé saghul at gmail.com
Mon Feb 11 23:35:39 CET 2013


>
> Good. How about calling future.result(), and letting it raise
> InvalidStateError ? (Except if the timeout handler was called.)
>

I did a quick test to see how it feels and I do like it. I'll update the 
review with this change plus the other suggested ones.

-- 
Saúl Ibarra Corretgé
http://saghul.net/blog | http://about.me/saghul



More information about the Python-ideas mailing list