Author haypo
Recipients benhoyt, gvanrossum, haypo, josh.r, martin.panter, serhiy.storchaka
Date 2016-02-09.09:18:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwa_4-JnvvCNBd-3o9zkzqpR6H0N9a2fzQZkEM4fbs0qCw@mail.gmail.com>
In-reply-to <1454976071.51.0.84629967499.issue25994@psf.upfronthosting.co.za>
Content
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.
History
Date User Action Args
2016-02-09 09:18:36hayposetrecipients: + haypo, gvanrossum, benhoyt, martin.panter, serhiy.storchaka, josh.r
2016-02-09 09:18:36haypolinkissue25994 messages
2016-02-09 09:18:36haypocreate