> Yes, thanks! What about avoiding the getdirents altogether? My investigations show that the two remaining getdents() are lookups during for the Python package directories during the Python startup and most likely cannot be avoided. Regards Guido