bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path object (GH-25964)

3 files changed