Lines Matching refs:pathname
199 def get_data(self, pathname):
200 """get_data(pathname) -> string with file data.
202 Return the data associated with 'pathname'. Raise OSError if
206 pathname = pathname.replace(alt_path_sep, path_sep)
208 key = pathname
209 if pathname.startswith(self.archive + path_sep):
210 key = pathname[len(self.archive + path_sep):]
641 def _unmarshal_code(self, pathname, fullpath, fullname, data):
678 raise TypeError(f'compiled module {pathname!r} is not a code object')
693 def _compile_source(pathname, source):
695 return compile(source, pathname, 'exec', dont_inherit=True)