Author giampaolo.rodola
Recipients cboltz, giampaolo.rodola, kinow
Date 2019-11-21.06:53:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574319181.57.0.264877140074.issue38688@roundup.psfhosted.org>
In-reply-to
Content
PR-17098 basically reverts https://bugs.python.org/issue33695. Not good. =) 
I think we can simply consume the iterator immediately as in:

    def copytree(src, ...):
        with os.scandir(src) as itr:
            entries = list(itr)
        return _copytree(entries=entries, ...)
History
Date User Action Args
2019-11-21 06:53:01giampaolo.rodolasetrecipients: + giampaolo.rodola, kinow, cboltz
2019-11-21 06:53:01giampaolo.rodolasetmessageid: <1574319181.57.0.264877140074.issue38688@roundup.psfhosted.org>
2019-11-21 06:53:01giampaolo.rodolalinkissue38688 messages
2019-11-21 06:53:01giampaolo.rodolacreate