Lines Matching refs:path
856 path: unicode
857 File path to use.
860 Changes code.co_filename to specify the passed-in file path.
865 PyObject *path)
869 update_compiled_module(code, path);
893 /* Return a finder object for a sys.path/pkg.__path__ item 'p',
896 that can handle the path item. Return None if no hook could;
897 this tells our caller that the path based finder could not find
898 a finder for this path item. Cache the result in
950 PyImport_GetImporter(PyObject *path)
958 return get_path_importer(tstate, path_importer_cache, path_hooks, path);
1704 PyObject *sys_path = PySys_GetObject("path");
1900 PyObject *path;
1901 if (_PyObject_LookupAttr(mod, &_Py_ID(__path__), &path) < 0) {
1904 if (path) {
1905 Py_DECREF(path);
2352 PyObject *mod, *name, *path;
2360 path = PyObject_GetAttrString(spec, "origin");
2361 if (path == NULL) {
2367 mod = import_find_extension(tstate, name, path);
2370 Py_DECREF(path);
2375 fp = _Py_fopen_obj(path, "r");
2378 Py_DECREF(path);
2388 Py_DECREF(path);