[Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted (original) (raw)
Benjamin Peterson benjamin at python.org
Wed Jan 9 03:07:42 CET 2013
- Previous message: [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted
- Next message: [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2013/1/8 Yuriy Taraday <yorik.sar at 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.
-- Regards, Benjamin
- Previous message: [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted
- Next message: [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]