/
opt
/
alt
/
python27
/
include
/
python2.7
/
/opt/alt/python27/include/python2.7
mkdir
upload
Name
Size
Mode
Actions
abstract.h
45225
0644
edit
dl
rm
asdl.h
1099
0644
edit
dl
rm
ast.h
230
0644
edit
dl
rm
bitset.h
792
0644
edit
dl
rm
boolobject.h
912
0644
edit
dl
rm
bufferobject.h
922
0644
edit
dl
rm
bytearrayobject.h
1941
0644
edit
dl
rm
bytesobject.h
1152
0644
edit
dl
rm
bytes_methods.h
2804
0644
edit
dl
rm
cellobject.h
651
0644
edit
dl
rm
ceval.h
5061
0644
edit
dl
rm
classobject.h
3002
0644
edit
dl
rm
cobject.h
2930
0644
edit
dl
rm
code.h
4407
0644
edit
dl
rm
codecs.h
6171
0644
edit
dl
rm
compile.h
1065
0644
edit
dl
rm
complexobject.h
1853
0644
edit
dl
rm
cStringIO.h
2005
0644
edit
dl
rm
datetime.h
8313
0644
edit
dl
rm
descrobject.h
2480
0644
edit
dl
rm
dictobject.h
6892
0644
edit
dl
rm
dtoa.h
338
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1399
0644
edit
dl
rm
eval.h
557
0644
edit
dl
rm
fileobject.h
3662
0644
edit
dl
rm
floatobject.h
5625
0644
edit
dl
rm
frameobject.h
3254
0644
edit
dl
rm
funcobject.h
2995
0644
edit
dl
rm
genobject.h
891
0644
edit
dl
rm
graminit.h
1917
0644
edit
dl
rm
grammar.h
2051
0644
edit
dl
rm
import.h
2223
0644
edit
dl
rm
intobject.h
2976
0644
edit
dl
rm
intrcheck.h
274
0644
edit
dl
rm
iterobject.h
522
0644
edit
dl
rm
listobject.h
2569
0644
edit
dl
rm
longintrepr.h
3907
0644
edit
dl
rm
longobject.h
5809
0644
edit
dl
rm
marshal.h
713
0644
edit
dl
rm
memoryobject.h
2823
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
3355
0644
edit
dl
rm
modsupport.h
5024
0644
edit
dl
rm
moduleobject.h
609
0644
edit
dl
rm
node.h
938
0644
edit
dl
rm
object.h
40059
0644
edit
dl
rm
objimpl.h
14338
0644
edit
dl
rm
opcode.h
4814
0644
edit
dl
rm
osdefs.h
1059
0644
edit
dl
rm
parsetok.h
1780
0644
edit
dl
rm
patchlevel.h
1450
0644
edit
dl
rm
pgen.h
253
0644
edit
dl
rm
pgenheaders.h
1180
0644
edit
dl
rm
pyarena.h
2693
0644
edit
dl
rm
pycapsule.h
1679
0644
edit
dl
rm
pyconfig-64.h
37841
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1268
0644
edit
dl
rm
pydebug.h
1322
0644
edit
dl
rm
pyerrors.h
11741
0644
edit
dl
rm
pyexpat.h
2117
0644
edit
dl
rm
pyfpe.h
8471
0644
edit
dl
rm
pygetopt.h
348
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymactoolbox.h
8628
0644
edit
dl
rm
pymath.h
7332
0644
edit
dl
rm
pymem.h
4712
0644
edit
dl
rm
pyport.h
32558
0644
edit
dl
rm
pystate.h
6403
0644
edit
dl
rm
pystrcmp.h
463
0644
edit
dl
rm
pystrtod.h
1582
0644
edit
dl
rm
Python-ast.h
21113
0644
edit
dl
rm
Python.h
4375
0644
edit
dl
rm
pythonrun.h
7234
0644
edit
dl
rm
pythread.h
1155
0644
edit
dl
rm
py_curses.h
4273
0644
edit
dl
rm
rangeobject.h
646
0644
edit
dl
rm
setobject.h
3077
0644
edit
dl
rm
sliceobject.h
1681
0644
edit
dl
rm
stringobject.h
7979
0644
edit
dl
rm
structmember.h
2901
0644
edit
dl
rm
structseq.h
862
0644
edit
dl
rm
symtable.h
3724
0644
edit
dl
rm
sysmodule.h
865
0644
edit
dl
rm
timefuncs.h
541
0644
edit
dl
rm
token.h
1799
0644
edit
dl
rm
traceback.h
697
0644
edit
dl
rm
tupleobject.h
2175
0644
edit
dl
rm
ucnhash.h
924
0644
edit
dl
rm
unicodeobject.h
52227
0644
edit
dl
rm
warnings.h
635
0644
edit
dl
rm
weakrefobject.h
2801
0644
edit
dl
rm
Edit:
/opt/alt/python27/include/python2.7/pythonrun.h
(7234B)
/* Interfaces to parse and execute pieces of python code */ #ifndef Py_PYTHONRUN_H #define Py_PYTHONRUN_H #ifdef __cplusplus extern "C" { #endif #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \ CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \ CO_FUTURE_UNICODE_LITERALS) #define PyCF_MASK_OBSOLETE (CO_NESTED) #define PyCF_SOURCE_IS_UTF8 0x0100 #define PyCF_DONT_IMPLY_DEDENT 0x0200 #define PyCF_ONLY_AST 0x0400 typedef struct { int cf_flags; /* bitmask of CO_xxx flags relevant to future */ } PyCompilerFlags; PyAPI_FUNC(void) Py_SetProgramName(char *); PyAPI_FUNC(char *) Py_GetProgramName(void); PyAPI_FUNC(void) Py_SetPythonHome(char *); PyAPI_FUNC(char *) Py_GetPythonHome(void); PyAPI_FUNC(void) Py_Initialize(void); PyAPI_FUNC(void) Py_InitializeEx(int); PyAPI_FUNC(void) Py_Finalize(void); PyAPI_FUNC(int) Py_IsInitialized(void); PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void); PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *); PyAPI_FUNC(int) PyRun_AnyFileFlags(FILE *, const char *, PyCompilerFlags *); PyAPI_FUNC(int) PyRun_AnyFileExFlags(FILE *, const char *, int, PyCompilerFlags *); PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *); PyAPI_FUNC(int) PyRun_SimpleFileExFlags(FILE *, const char *, int, PyCompilerFlags *); PyAPI_FUNC(int) PyRun_InteractiveOneFlags(FILE *, const char *, PyCompilerFlags *); PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(FILE *, const char *, PyCompilerFlags *); PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *, int, PyCompilerFlags *flags, PyArena *); PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int, char *, char *, PyCompilerFlags *, int *, PyArena *); #define PyParser_SimpleParseString(S, B) \ PyParser_SimpleParseStringFlags(S, B, 0) #define PyParser_SimpleParseFile(FP, S, B) \ PyParser_SimpleParseFileFlags(FP, S, B, 0) PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, int); PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *, int, int); PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *, PyObject *, PyCompilerFlags *); PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int, PyObject *, PyObject *, int, PyCompilerFlags *); #define Py_CompileString(str, p, s) Py_CompileStringFlags(str, p, s, NULL) PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int, PyCompilerFlags *); PyAPI_FUNC(struct symtable *) Py_SymtableString(const char *, const char *, int); PyAPI_FUNC(void) PyErr_Print(void); PyAPI_FUNC(void) PyErr_PrintEx(int); PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *); PyAPI_FUNC(int) Py_AtExit(void (*func)(void)); PyAPI_FUNC(void) Py_Exit(int); PyAPI_FUNC(int) Py_FdIsInteractive(FILE *, const char *); /* Bootstrap */ PyAPI_FUNC(int) Py_Main(int argc, char **argv); /* Use macros for a bunch of old variants */ #define PyRun_String(str, s, g, l) PyRun_StringFlags(str, s, g, l, NULL) #define PyRun_AnyFile(fp, name) PyRun_AnyFileExFlags(fp, name, 0, NULL) #define PyRun_AnyFileEx(fp, name, closeit) \ PyRun_AnyFileExFlags(fp, name, closeit, NULL) #define PyRun_AnyFileFlags(fp, name, flags) \ PyRun_AnyFileExFlags(fp, name, 0, flags) #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) #define PyRun_SimpleFile(f, p) PyRun_SimpleFileExFlags(f, p, 0, NULL) #define PyRun_SimpleFileEx(f, p, c) PyRun_SimpleFileExFlags(f, p, c, NULL) #define PyRun_InteractiveOne(f, p) PyRun_InteractiveOneFlags(f, p, NULL) #define PyRun_InteractiveLoop(f, p) PyRun_InteractiveLoopFlags(f, p, NULL) #define PyRun_File(fp, p, s, g, l) \ PyRun_FileExFlags(fp, p, s, g, l, 0, NULL) #define PyRun_FileEx(fp, p, s, g, l, c) \ PyRun_FileExFlags(fp, p, s, g, l, c, NULL) #define PyRun_FileFlags(fp, p, s, g, l, flags) \ PyRun_FileExFlags(fp, p, s, g, l, 0, flags) /* In getpath.c */ PyAPI_FUNC(char *) Py_GetProgramFullPath(void); PyAPI_FUNC(char *) Py_GetPrefix(void); PyAPI_FUNC(char *) Py_GetExecPrefix(void); PyAPI_FUNC(char *) Py_GetPath(void); /* In their own files */ PyAPI_FUNC(const char *) Py_GetVersion(void); PyAPI_FUNC(const char *) Py_GetPlatform(void); PyAPI_FUNC(const char *) Py_GetCopyright(void); PyAPI_FUNC(const char *) Py_GetCompiler(void); PyAPI_FUNC(const char *) Py_GetBuildInfo(void); PyAPI_FUNC(const char *) Py_SubversionRevision(void); PyAPI_FUNC(const char *) Py_SubversionShortBranch(void); PyAPI_FUNC(const char *) _Py_gitidentifier(void); PyAPI_FUNC(const char *) _Py_gitversion(void); /* Internal -- various one-time initializations */ PyAPI_FUNC(PyObject *) _PyBuiltin_Init(void); PyAPI_FUNC(PyObject *) _PySys_Init(void); PyAPI_FUNC(void) _PyImport_Init(void); PyAPI_FUNC(void) _PyExc_Init(void); PyAPI_FUNC(void) _PyImportHooks_Init(void); PyAPI_FUNC(int) _PyFrame_Init(void); PyAPI_FUNC(int) _PyInt_Init(void); PyAPI_FUNC(int) _PyLong_Init(void); PyAPI_FUNC(void) _PyFloat_Init(void); PyAPI_FUNC(int) PyByteArray_Init(void); PyAPI_FUNC(void) _PyRandom_Init(void); /* Various internal finalizers */ PyAPI_FUNC(void) _PyExc_Fini(void); PyAPI_FUNC(void) _PyImport_Fini(void); PyAPI_FUNC(void) PyMethod_Fini(void); PyAPI_FUNC(void) PyFrame_Fini(void); PyAPI_FUNC(void) PyCFunction_Fini(void); PyAPI_FUNC(void) PyDict_Fini(void); PyAPI_FUNC(void) PyTuple_Fini(void); PyAPI_FUNC(void) PyList_Fini(void); PyAPI_FUNC(void) PySet_Fini(void); PyAPI_FUNC(void) PyString_Fini(void); PyAPI_FUNC(void) PyInt_Fini(void); PyAPI_FUNC(void) PyFloat_Fini(void); PyAPI_FUNC(void) PyOS_FiniInterrupts(void); PyAPI_FUNC(void) PyByteArray_Fini(void); PyAPI_FUNC(void) _PyRandom_Fini(void); /* Stuff with no proper home (yet) */ PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, char *); PyAPI_DATA(int) (*PyOS_InputHook)(void); PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *); PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState; /* Stack size, in "pointers" (so we get extra safety margins on 64-bit platforms). On a 32-bit platform, this translates to an 8k margin. */ #define PYOS_STACK_MARGIN 2048 #if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) && _MSC_VER >= 1300 /* Enable stack checking under Microsoft C */ #define USE_STACKCHECK #endif #ifdef USE_STACKCHECK /* Check that we aren't overflowing our stack */ PyAPI_FUNC(int) PyOS_CheckStack(void); #endif /* Signals */ typedef void (*PyOS_sighandler_t)(int); PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int); PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t); /* Random */ PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size); #ifdef __cplusplus } #endif #endif /* !Py_PYTHONRUN_H */
Save
cmd:
run