Re: [Python-ideas] [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted
Jan. 9, 2013
2:49 a.m.
On Tue, Jan 8, 2013 at 6:07 PM, Benjamin Peterson <benjamin@python.org> wrote:
2013/1/8 Yuriy Taraday <yorik.sar@gmail.com>:
4. Why separate exception() from result() for Future class? It does the same as result() but with different interface (return instead of raise). Doesn't this violate the rule "There should be one obvious way to do it"?
I expect that's a copy-and-paste error. exception() will return the exception if one occured.
I don't see the typo. It is as Nick explained. -- --Guido van Rossum (python.org/~guido)
4941
Age (days ago)
4941
Last active (days ago)
0 comments
1 participants
participants (1)
-
Guido van Rossum