Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python3....
File: pythonrun.h
[0] Fix | Delete
/* Interfaces to parse and execute pieces of python code */
[1] Fix | Delete
[2] Fix | Delete
#ifndef Py_PYTHONRUN_H
[3] Fix | Delete
#define Py_PYTHONRUN_H
[4] Fix | Delete
#ifdef __cplusplus
[5] Fix | Delete
extern "C" {
[6] Fix | Delete
#endif
[7] Fix | Delete
[8] Fix | Delete
#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
[9] Fix | Delete
CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
[10] Fix | Delete
CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
[11] Fix | Delete
CO_FUTURE_GENERATOR_STOP)
[12] Fix | Delete
#define PyCF_MASK_OBSOLETE (CO_NESTED)
[13] Fix | Delete
#define PyCF_SOURCE_IS_UTF8 0x0100
[14] Fix | Delete
#define PyCF_DONT_IMPLY_DEDENT 0x0200
[15] Fix | Delete
#define PyCF_ONLY_AST 0x0400
[16] Fix | Delete
#define PyCF_IGNORE_COOKIE 0x0800
[17] Fix | Delete
[18] Fix | Delete
#ifndef Py_LIMITED_API
[19] Fix | Delete
typedef struct {
[20] Fix | Delete
int cf_flags; /* bitmask of CO_xxx flags relevant to future */
[21] Fix | Delete
} PyCompilerFlags;
[22] Fix | Delete
#endif
[23] Fix | Delete
[24] Fix | Delete
#ifndef Py_LIMITED_API
[25] Fix | Delete
PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
[26] Fix | Delete
PyAPI_FUNC(int) PyRun_AnyFileFlags(FILE *, const char *, PyCompilerFlags *);
[27] Fix | Delete
PyAPI_FUNC(int) PyRun_AnyFileExFlags(
[28] Fix | Delete
FILE *fp,
[29] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[30] Fix | Delete
int closeit,
[31] Fix | Delete
PyCompilerFlags *flags);
[32] Fix | Delete
PyAPI_FUNC(int) PyRun_SimpleFileExFlags(
[33] Fix | Delete
FILE *fp,
[34] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[35] Fix | Delete
int closeit,
[36] Fix | Delete
PyCompilerFlags *flags);
[37] Fix | Delete
PyAPI_FUNC(int) PyRun_InteractiveOneFlags(
[38] Fix | Delete
FILE *fp,
[39] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[40] Fix | Delete
PyCompilerFlags *flags);
[41] Fix | Delete
PyAPI_FUNC(int) PyRun_InteractiveOneObject(
[42] Fix | Delete
FILE *fp,
[43] Fix | Delete
PyObject *filename,
[44] Fix | Delete
PyCompilerFlags *flags);
[45] Fix | Delete
PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(
[46] Fix | Delete
FILE *fp,
[47] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[48] Fix | Delete
PyCompilerFlags *flags);
[49] Fix | Delete
[50] Fix | Delete
PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(
[51] Fix | Delete
const char *s,
[52] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[53] Fix | Delete
int start,
[54] Fix | Delete
PyCompilerFlags *flags,
[55] Fix | Delete
PyArena *arena);
[56] Fix | Delete
PyAPI_FUNC(struct _mod *) PyParser_ASTFromStringObject(
[57] Fix | Delete
const char *s,
[58] Fix | Delete
PyObject *filename,
[59] Fix | Delete
int start,
[60] Fix | Delete
PyCompilerFlags *flags,
[61] Fix | Delete
PyArena *arena);
[62] Fix | Delete
PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(
[63] Fix | Delete
FILE *fp,
[64] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[65] Fix | Delete
const char* enc,
[66] Fix | Delete
int start,
[67] Fix | Delete
const char *ps1,
[68] Fix | Delete
const char *ps2,
[69] Fix | Delete
PyCompilerFlags *flags,
[70] Fix | Delete
int *errcode,
[71] Fix | Delete
PyArena *arena);
[72] Fix | Delete
PyAPI_FUNC(struct _mod *) PyParser_ASTFromFileObject(
[73] Fix | Delete
FILE *fp,
[74] Fix | Delete
PyObject *filename,
[75] Fix | Delete
const char* enc,
[76] Fix | Delete
int start,
[77] Fix | Delete
const char *ps1,
[78] Fix | Delete
const char *ps2,
[79] Fix | Delete
PyCompilerFlags *flags,
[80] Fix | Delete
int *errcode,
[81] Fix | Delete
PyArena *arena);
[82] Fix | Delete
#endif
[83] Fix | Delete
[84] Fix | Delete
#ifndef PyParser_SimpleParseString
[85] Fix | Delete
#define PyParser_SimpleParseString(S, B) \
[86] Fix | Delete
PyParser_SimpleParseStringFlags(S, B, 0)
[87] Fix | Delete
#define PyParser_SimpleParseFile(FP, S, B) \
[88] Fix | Delete
PyParser_SimpleParseFileFlags(FP, S, B, 0)
[89] Fix | Delete
#endif
[90] Fix | Delete
PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int,
[91] Fix | Delete
int);
[92] Fix | Delete
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
[93] Fix | Delete
PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlagsFilename(const char *,
[94] Fix | Delete
const char *,
[95] Fix | Delete
int, int);
[96] Fix | Delete
#endif
[97] Fix | Delete
PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *,
[98] Fix | Delete
int, int);
[99] Fix | Delete
[100] Fix | Delete
#ifndef Py_LIMITED_API
[101] Fix | Delete
PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *,
[102] Fix | Delete
PyObject *, PyCompilerFlags *);
[103] Fix | Delete
[104] Fix | Delete
PyAPI_FUNC(PyObject *) PyRun_FileExFlags(
[105] Fix | Delete
FILE *fp,
[106] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[107] Fix | Delete
int start,
[108] Fix | Delete
PyObject *globals,
[109] Fix | Delete
PyObject *locals,
[110] Fix | Delete
int closeit,
[111] Fix | Delete
PyCompilerFlags *flags);
[112] Fix | Delete
#endif
[113] Fix | Delete
[114] Fix | Delete
#ifdef Py_LIMITED_API
[115] Fix | Delete
PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);
[116] Fix | Delete
#else
[117] Fix | Delete
#define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1)
[118] Fix | Delete
#define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)
[119] Fix | Delete
PyAPI_FUNC(PyObject *) Py_CompileStringExFlags(
[120] Fix | Delete
const char *str,
[121] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[122] Fix | Delete
int start,
[123] Fix | Delete
PyCompilerFlags *flags,
[124] Fix | Delete
int optimize);
[125] Fix | Delete
PyAPI_FUNC(PyObject *) Py_CompileStringObject(
[126] Fix | Delete
const char *str,
[127] Fix | Delete
PyObject *filename, int start,
[128] Fix | Delete
PyCompilerFlags *flags,
[129] Fix | Delete
int optimize);
[130] Fix | Delete
#endif
[131] Fix | Delete
PyAPI_FUNC(struct symtable *) Py_SymtableString(
[132] Fix | Delete
const char *str,
[133] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[134] Fix | Delete
int start);
[135] Fix | Delete
#ifndef Py_LIMITED_API
[136] Fix | Delete
PyAPI_FUNC(struct symtable *) Py_SymtableStringObject(
[137] Fix | Delete
const char *str,
[138] Fix | Delete
PyObject *filename,
[139] Fix | Delete
int start);
[140] Fix | Delete
#endif
[141] Fix | Delete
[142] Fix | Delete
PyAPI_FUNC(void) PyErr_Print(void);
[143] Fix | Delete
PyAPI_FUNC(void) PyErr_PrintEx(int);
[144] Fix | Delete
PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *);
[145] Fix | Delete
[146] Fix | Delete
#ifndef Py_LIMITED_API
[147] Fix | Delete
/* Use macros for a bunch of old variants */
[148] Fix | Delete
#define PyRun_String(str, s, g, l) PyRun_StringFlags(str, s, g, l, NULL)
[149] Fix | Delete
#define PyRun_AnyFile(fp, name) PyRun_AnyFileExFlags(fp, name, 0, NULL)
[150] Fix | Delete
#define PyRun_AnyFileEx(fp, name, closeit) \
[151] Fix | Delete
PyRun_AnyFileExFlags(fp, name, closeit, NULL)
[152] Fix | Delete
#define PyRun_AnyFileFlags(fp, name, flags) \
[153] Fix | Delete
PyRun_AnyFileExFlags(fp, name, 0, flags)
[154] Fix | Delete
#define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL)
[155] Fix | Delete
#define PyRun_SimpleFile(f, p) PyRun_SimpleFileExFlags(f, p, 0, NULL)
[156] Fix | Delete
#define PyRun_SimpleFileEx(f, p, c) PyRun_SimpleFileExFlags(f, p, c, NULL)
[157] Fix | Delete
#define PyRun_InteractiveOne(f, p) PyRun_InteractiveOneFlags(f, p, NULL)
[158] Fix | Delete
#define PyRun_InteractiveLoop(f, p) PyRun_InteractiveLoopFlags(f, p, NULL)
[159] Fix | Delete
#define PyRun_File(fp, p, s, g, l) \
[160] Fix | Delete
PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
[161] Fix | Delete
#define PyRun_FileEx(fp, p, s, g, l, c) \
[162] Fix | Delete
PyRun_FileExFlags(fp, p, s, g, l, c, NULL)
[163] Fix | Delete
#define PyRun_FileFlags(fp, p, s, g, l, flags) \
[164] Fix | Delete
PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
[165] Fix | Delete
#endif
[166] Fix | Delete
[167] Fix | Delete
/* Stuff with no proper home (yet) */
[168] Fix | Delete
#ifndef Py_LIMITED_API
[169] Fix | Delete
PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, const char *);
[170] Fix | Delete
#endif
[171] Fix | Delete
PyAPI_DATA(int) (*PyOS_InputHook)(void);
[172] Fix | Delete
PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, const char *);
[173] Fix | Delete
#ifndef Py_LIMITED_API
[174] Fix | Delete
PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
[175] Fix | Delete
#endif
[176] Fix | Delete
[177] Fix | Delete
/* Stack size, in "pointers" (so we get extra safety margins
[178] Fix | Delete
on 64-bit platforms). On a 32-bit platform, this translates
[179] Fix | Delete
to an 8k margin. */
[180] Fix | Delete
#define PYOS_STACK_MARGIN 2048
[181] Fix | Delete
[182] Fix | Delete
#if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) && _MSC_VER >= 1300
[183] Fix | Delete
/* Enable stack checking under Microsoft C */
[184] Fix | Delete
#define USE_STACKCHECK
[185] Fix | Delete
#endif
[186] Fix | Delete
[187] Fix | Delete
#ifdef USE_STACKCHECK
[188] Fix | Delete
/* Check that we aren't overflowing our stack */
[189] Fix | Delete
PyAPI_FUNC(int) PyOS_CheckStack(void);
[190] Fix | Delete
#endif
[191] Fix | Delete
[192] Fix | Delete
#ifdef __cplusplus
[193] Fix | Delete
}
[194] Fix | Delete
#endif
[195] Fix | Delete
#endif /* !Py_PYTHONRUN_H */
[196] Fix | Delete
[197] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function