Message219732
I fixed the issue in Python 3.5 by adding a new BaseEventLoop.is_closed() method. Calling run_forever() or run_until_complete() now raises an error.
I don't know yet if this issue should be fixed in Python 3.4. If it should be fixed, I don't know how it should be fixed. Guido was unhappy with subclasses of BaseEventLoop accessing the private attribute BaseEventLoop._closed in the review of my patch. |
|
Date |
User |
Action |
Args |
2014-06-03 23:17:55 | vstinner | set | recipients:
+ vstinner, gvanrossum, mark.dickinson, python-dev |
2014-06-03 23:17:55 | vstinner | set | messageid: <1401837475.07.0.725621843486.issue21326@psf.upfronthosting.co.za> |
2014-06-03 23:17:55 | vstinner | link | issue21326 messages |
2014-06-03 23:17:54 | vstinner | create | |
|