]> granicus.if.org Git - python/commit
asyncio: Future.set_exception(exc) should instantiate exc if it is a class.
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 31 Jan 2014 00:01:54 +0000 (16:01 -0800)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 31 Jan 2014 00:01:54 +0000 (16:01 -0800)
commit95728982825e1c7247d40e8cfcae48b46377baa6
tree9119d9fd73c18e06a7e5c7a9cac54acdb71af1c8
parent91445fbeb05f77551a8f83c5188362093916b0e1
asyncio: Future.set_exception(exc) should instantiate exc if it is a class.
Lib/asyncio/futures.py
Lib/test/test_asyncio/test_futures.py