Message259920
Josh Rosenberg added the comment:
> Adding a ResourceWarning even if the generator is run to completion?
I'm ok to only emit the warning is the generator is not exhausted.
The warning would be emited in the destructor if the generator is not
closed. In practice, the generator is *already* closed on the last
file, so the warning would not be emited if the generator is
exhausted. |
|
Date |
User |
Action |
Args |
2016-02-09 09:18:36 | vstinner | set | recipients:
+ vstinner, gvanrossum, benhoyt, martin.panter, serhiy.storchaka, josh.r |
2016-02-09 09:18:36 | vstinner | link | issue25994 messages |
2016-02-09 09:18:36 | vstinner | create | |
|