Lines Matching defs:sys
173 PyErr_SetString(PyExc_RuntimeError, "unable to get sys.path");
450 PyObject *sys, *hook, *result;
451 sys = PyImport_ImportModule("sys");
452 if (sys == NULL) {
456 hook = PyObject_GetAttrString(sys, "__interactivehook__");
457 Py_DECREF(sys);
477 PySys_WriteStderr("Failed calling sys.__interactivehook__\n");
556 prepended to sys.path.
565 // import readline and rlcompleter before script dir is added to sys.path
668 sys.stdout in this case. */