Issue #26117: The os.scandir() iterator now closes file descriptor not only
when the iteration is finished, but when it was failed with error.
S
Serhiy Storchaka committed
988b9bcd881c21286d0bce64009c8b5afa50da8e
Parent: 5f6a0b4