Index: Lib/pkgutil.py =================================================================== --- Lib/pkgutil.py (révision 88710) +++ Lib/pkgutil.py (copie de travail) @@ -519,7 +519,12 @@ # XXX This may still add duplicate entries to path on # case-insensitive filesystems initfile = os.path.join(subdir, init_py) - if subdir not in path and os.path.isfile(initfile): + initfilec = initfile + 'c' + initfileo = initfile + 'o' + if subdir not in path and ( + os.path.isfile(initfile) or + os.path.isfile(initfilec) or + os.path.isfile(initfileo)): path.append(subdir) # XXX Is this the right thing for subpackages like zope.app? # It looks for a file named "zope.app.pkg"