Searched refs:fixed_source (Results 1 – 2 of 2) sorted by relevance
1109 PyObject *fixed_source; in normalize_line_endings() local1134 fixed_source = PyString_FromString(buf); in normalize_line_endings()1136 return fixed_source; in normalize_line_endings()1144 PyObject *code, *fixed_source; in compile_source() local1146 fixed_source = normalize_line_endings(source); in compile_source()1147 if (fixed_source == NULL) in compile_source()1150 code = Py_CompileString(PyString_AsString(fixed_source), pathname, in compile_source()1152 Py_DECREF(fixed_source); in compile_source()
1324 PyObject *fixed_source; in normalize_line_endings() local1353 fixed_source = PyBytes_FromStringAndSize(buf, len + 2); in normalize_line_endings()1355 return fixed_source; in normalize_line_endings()1363 PyObject *code, *fixed_source; in compile_source() local1365 fixed_source = normalize_line_endings(source); in compile_source()1366 if (fixed_source == NULL) { in compile_source()1370 code = Py_CompileStringObject(PyBytes_AsString(fixed_source), in compile_source()1373 Py_DECREF(fixed_source); in compile_source()