Message259968
About testing that list(iterator) is empty after the iterator is closed, IMO this is an implementation detail. It would be equally (or more) sensible to raise an exception, like proposed for “async def” coroutines in Issue 25887. I suppose the main purpose of those tests is to ensure there is no leakage or warning, so maybe add some more filterwarnings() checks in those tests instead?
I left some other review comments. |
|
Date |
User |
Action |
Args |
2016-02-10 02:46:25 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, vstinner, benhoyt, serhiy.storchaka, josh.r |
2016-02-10 02:46:25 | martin.panter | set | messageid: <1455072385.65.0.0444801076986.issue25994@psf.upfronthosting.co.za> |
2016-02-10 02:46:25 | martin.panter | link | issue25994 messages |
2016-02-10 02:46:24 | martin.panter | create | |
|