Lines Matching refs:ispkg
836 ispkg = hasattr(module, '__path__')
837 assert _imp.is_frozen_package(module.__name__) == ispkg, ispkg
838 filename, pkgdir = cls._resolve_filename(origname, spec.name, ispkg)
844 if ispkg:
858 if ispkg:
866 ispkg = __path__ is not None
872 ) = cls._resolve_filename(state.origname, spec.name, ispkg)
877 assert __path__ == ([] if ispkg else None), __path__
881 assert __path__ == ([] if ispkg else None), __path__
888 if ispkg:
896 def _resolve_filename(cls, fullname, alias=None, ispkg=False):
907 if not ispkg:
910 ispkg = False
912 if ispkg:
937 _, ispkg, origname = info
940 is_package=ispkg)
941 filename, pkgdir = cls._resolve_filename(origname, fullname, ispkg)
993 _, ispkg, origname = info
996 if ispkg: