This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
PR-17098 basically reverts 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, ...)
Date User Action Args
2019-11-21 06:53:01giampaolo.rodolasetrecipients: + giampaolo.rodola, kinow, cboltz
2019-11-21 06:53:01giampaolo.rodolasetmessageid: <>
2019-11-21 06:53:01giampaolo.rodolalinkissue38688 messages
2019-11-21 06:53:01giampaolo.rodolacreate