bpo-40260: Update modulefinder to use io.open_code() and respect coding comments (GH-19488)

3 files changed