deimos.python.pythonrun

Mirror pythonrun.h

Interfaces to parse and execute pieces of python code

Members

Functions

PyByteArray_Fini
void PyByteArray_Fini()

Availability: 3.*

PyByteArray_Fini
void PyByteArray_Fini()

_

PyBytes_Fini
void PyBytes_Fini()

Availability: 3.*

PyCFunction_Fini
void PyCFunction_Fini()

_

PyDict_Fini
void PyDict_Fini()

_

PyErr_Display
void PyErr_Display(PyObject* , PyObject* , PyObject* )

_

PyErr_Print
void PyErr_Print()

_

PyErr_PrintEx
void PyErr_PrintEx(int )

_

PyFloat_Fini
void PyFloat_Fini()

_

PyFrame_Fini
void PyFrame_Fini()

_

PyInt_Fini
void PyInt_Fini()

Availability: 2.*

PyList_Fini
void PyList_Fini()

_

PyMethod_Fini
void PyMethod_Fini()

_

PyOS_FiniInterrupts
void PyOS_FiniInterrupts()

_

PyOS_Readline
char* PyOS_Readline(FILE* , FILE* , char* )

_

PyParser_ASTFromFile
_mod* PyParser_ASTFromFile(FILE* fp, const(char)* filename, const(char)* enc, int start, char* ps1, char* ps2, PyCompilerFlags* flags, int* errcode, PyArena* arena)

Availability: >= 3.2

PyParser_ASTFromFile
_mod* PyParser_ASTFromFile(FILE* fp, const(char)* filename, int start, char* ps1, char* ps2, PyCompilerFlags* flags, int* errcode, PyArena* arena)

Availability: <= 2.7

PyParser_ASTFromString
_mod* PyParser_ASTFromString(const(char)* s, const(char)* filename, int start, PyCompilerFlags* flags, PyArena* arena)

Availability: >= 2.5

PyParser_SimpleParseFile
node* PyParser_SimpleParseFile(FILE* f, const(char)* s, int b)

_

PyParser_SimpleParseFile
node* PyParser_SimpleParseFile(FILE* , const(char)* , int )

_

PyParser_SimpleParseFileFlags
node* PyParser_SimpleParseFileFlags(FILE* , const(char)* , int , int )

_

PyParser_SimpleParseString
node* PyParser_SimpleParseString(const(char)* s, int b)

_

PyParser_SimpleParseString
node* PyParser_SimpleParseString(const(char)* , int )

_

PyParser_SimpleParseStringFlags
node* PyParser_SimpleParseStringFlags(const(char)* , int , int )

_

PyParser_SimpleParseStringFlagsFilename
node* PyParser_SimpleParseStringFlagsFilename(const(char)* , const(char)* , int , int )

Availability: 2.4

PyRun_AnyFile
int PyRun_AnyFile(FILE* fp, const(char)* name)

_

PyRun_AnyFile
int PyRun_AnyFile(FILE* , const(char)* )

_

PyRun_AnyFile
int PyRun_AnyFile(FILE* fp, const(char)* name)

Availability: >= 3.8

PyRun_AnyFileEx
int PyRun_AnyFileEx(FILE* fp, const(char)* name, int closeit)

_

PyRun_AnyFileEx
int PyRun_AnyFileEx(FILE* , const(char)* , int )

_

PyRun_AnyFileEx
int PyRun_AnyFileEx(FILE* fp, const(char)* name, int closeit)

Availability: >= 3.8

PyRun_AnyFileExFlags
int PyRun_AnyFileExFlags(FILE* fp, const(char)* filename, int closeit, PyCompilerFlags* flags)

_

PyRun_AnyFileFlags
int PyRun_AnyFileFlags(FILE* fp, const(char)* name, PyCompilerFlags* flags)

_

PyRun_AnyFileFlags
int PyRun_AnyFileFlags(FILE* , const(char)* , PyCompilerFlags* )

_

PyRun_AnyFileFlags
int PyRun_AnyFileFlags(FILE* , const(char)* , PyCompilerFlags* )

Availability: >= 3.8

PyRun_File
PyObject* PyRun_File(FILE* fp, const(char)* p, int s, PyObject* g, PyObject* l)

_

PyRun_File
PyObject* PyRun_File(FILE* , const(char)* , int , PyObject* , PyObject* )

_

PyRun_File
PyObject* PyRun_File(FILE* fp, const(char)* p, int s, PyObject* g, PyObject* l)

Availability: >= 3.8

PyRun_FileEx
PyObject* PyRun_FileEx(FILE* fp, const(char)* p, int s, PyObject* g, PyObject* l, int c)

_

PyRun_FileEx
PyObject* PyRun_FileEx(FILE* , const(char)* , int , PyObject* , PyObject* , int )

_

PyRun_FileExFlags
PyObject* PyRun_FileExFlags(FILE* fp, const(char)* filename, int start, PyObject* globals, PyObject* locals, int closeit, PyCompilerFlags* flags)

_

PyRun_FileFlags
PyObject* PyRun_FileFlags(FILE* fp, const(char)* p, int s, PyObject* g, PyObject* l, PyCompilerFlags* flags)

_

PyRun_FileFlags
PyObject* PyRun_FileFlags(FILE* , const(char)* , int , PyObject* , PyObject* , PyCompilerFlags* )

_

PyRun_InteractiveLoop
int PyRun_InteractiveLoop(FILE* f, const(char)* p)

_

PyRun_InteractiveLoop
int PyRun_InteractiveLoop(FILE* , const(char)* )

_

PyRun_InteractiveLoop
int PyRun_InteractiveLoop(FILE* f, const(char)* p)

Availability: >= 3.8

PyRun_InteractiveLoopFlags
int PyRun_InteractiveLoopFlags(FILE* fp, const(char)* filename, PyCompilerFlags* flags)

_

PyRun_InteractiveOne
int PyRun_InteractiveOne(FILE* f, const(char)* p)

_

PyRun_InteractiveOne
int PyRun_InteractiveOne(FILE* , const(char)* )

_

PyRun_InteractiveOne
int PyRun_InteractiveOne(FILE* f, const(char)* p)

Availability: >= 3.8

PyRun_InteractiveOneFlags
int PyRun_InteractiveOneFlags(FILE* fp, const(char)* filename, PyCompilerFlags* flags)

_

PyRun_SimpleFile
int PyRun_SimpleFile(FILE* f, const(char)* p)

_

PyRun_SimpleFile
int PyRun_SimpleFile(FILE* , const(char)* )

_

PyRun_SimpleFile
int PyRun_SimpleFile(FILE* f, const(char)* p)

Availability: >= 3.8

PyRun_SimpleFileEx
int PyRun_SimpleFileEx(FILE* f, const(char)* p, int c)

_

PyRun_SimpleFileEx
int PyRun_SimpleFileEx(FILE* , const(char)* , int )

_

PyRun_SimpleFileEx
int PyRun_SimpleFileEx(FILE* f, const(char)* p, int c)

Availability: >= 3.8

PyRun_SimpleFileExFlags
int PyRun_SimpleFileExFlags(FILE* fp, const(char)* filename, int closeit, PyCompilerFlags* flags)

_

PyRun_SimpleString
int PyRun_SimpleString(const(char)* s)

_

PyRun_SimpleString
int PyRun_SimpleString(const(char)* )

_

PyRun_SimpleString
int PyRun_SimpleString(const(char)* s)

Availability: >= 3.8

PyRun_SimpleStringFlags
int PyRun_SimpleStringFlags(const(char)* , PyCompilerFlags* )

_

PyRun_String
PyObject* PyRun_String(const(char)* str, int s, PyObject* g, PyObject* l)
PyRun_String
PyObject* PyRun_String(const(char)* str, int s, PyObject* g, PyObject* l)
PyRun_StringFlags
PyObject* PyRun_StringFlags(const(char)* str, int s, PyObject* g, PyObject* l, PyCompilerFlags* flags)
PySet_Fini
void PySet_Fini()

_

PySlice_Fini
void PySlice_Fini()

Availability: >= 3.2

PyString_Fini
void PyString_Fini()

Availability: 2.*

PyTuple_Fini
void PyTuple_Fini()

_

Py_AtExit
int Py_AtExit(void function() func)

_

Py_CompileString
PyObject* Py_CompileString(const(char)* str, const(char)* p, int s)

_

Py_CompileString
PyObject* Py_CompileString(const(char)* , const(char)* , int )

_

Py_CompileStringExFlags
PyObject* Py_CompileStringExFlags(const(char)* str, const(char)* filename, int start, PyCompilerFlags* flags, int optimize)

Availability: >= 3.2

Py_CompileStringFlags
auto Py_CompileStringFlags(const(char)* str, const(char)* p, int s, PyCompilerFlags* f)

_

Py_CompileStringFlags
PyObject* Py_CompileStringFlags(const(char)* str, const(char)* filename, int , PyCompilerFlags* flags)

_

Py_EndInterpreter
void Py_EndInterpreter(PyThreadState* )

_

Py_Exit
void Py_Exit(int )

_

Py_FdIsInteractive
int Py_FdIsInteractive(FILE* , const(char)* )

_

Py_Finalize
void Py_Finalize()

_

Py_GetBuildInfo
const(char)* Py_GetBuildInfo()

_

Py_GetCompiler
const(char)* Py_GetCompiler()

_

Py_GetCopyright
const(char)* Py_GetCopyright()

_

Py_GetExecPrefix
wchar_t* Py_GetExecPrefix()

Availability: >= 3.0

Py_GetExecPrefix
char* Py_GetExecPrefix()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_GetPath
wchar_t* Py_GetPath()

Availability: >= 3.0

Py_GetPath
char* Py_GetPath()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_GetPlatform
const(char)* Py_GetPlatform()

_

Py_GetPrefix
wchar_t* Py_GetPrefix()

Availability: >= 3.0

Py_GetPrefix
char* Py_GetPrefix()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_GetProgramFullPath
wchar_t* Py_GetProgramFullPath()

Availability: >= 3.0

Py_GetProgramFullPath
char* Py_GetProgramFullPath()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Py_GetProgramName
wchar_t* Py_GetProgramName()

Availability: >= 3.2

Py_GetProgramName
char* Py_GetProgramName()

Availability: <= 2.7

Py_GetPythonHome
wchar_t* Py_GetPythonHome()

Availability: >= 3.2

Py_GetPythonHome
char* Py_GetPythonHome()

Availability: <= 2.7

Py_GetVersion
const(char)* Py_GetVersion()

_

Py_Initialize
void Py_Initialize()

Initialize the Python interpreter. For embedding python, this should be called before accessing other Python/C API functions, with the following exceptions:

Py_InitializeEx
void Py_InitializeEx(int )

_

Py_IsInitialized
int Py_IsInitialized()

_

Py_Main
int Py_Main(int argc, wchar_t** argv)

Availability: >= 3.2

Py_Main
int Py_Main(int argc, wchar_t** argv)

Availability: <= 2.7

Py_NewInterpreter
PyThreadState* Py_NewInterpreter()

_

Py_SetPath
void Py_SetPath(const(wchar_t)* )

Availability: >= 3.2

Py_SetProgramName
void Py_SetProgramName(wchar_t* )

Availability: >= 3.2

Py_SetProgramName
void Py_SetProgramName(char* )

Availability: <= 2.7

Py_SetPythonHome
void Py_SetPythonHome(wchar_t* )

Availability: >= 3.2

Py_SetPythonHome
void Py_SetPythonHome(char* )

Availability: <= 2.7

Py_SymtableString
symtable* Py_SymtableString(const(char)* str, const(char)* filename, int start)

_

_PyExc_Fini
void _PyExc_Fini()

_

_PyImport_Fini
void _PyImport_Fini()

_

_Py_CheckPython3
int _Py_CheckPython3()

Availability: >= 3.0, Windows only

_Py_PyAtExit
void _Py_PyAtExit(void function() func)

Availability: >= 3.2

_Py_RestoreSignals
void _Py_RestoreSignals()

Availability: >= 3.2

Manifest constants

PyCF_DONT_IMPLY_DEDENT
enum PyCF_DONT_IMPLY_DEDENT;

_

PyCF_IGNORE_COOKIE
enum PyCF_IGNORE_COOKIE;

Availability: >= 3.2

PyCF_MASK
enum PyCF_MASK;

_

PyCF_MASK
enum PyCF_MASK;

_

PyCF_MASK
enum PyCF_MASK;

_

PyCF_MASK
enum PyCF_MASK;

_

PyCF_ONLY_AST
enum PyCF_ONLY_AST;

Availability: >= 2.5

PyCF_SOURCE_IS_UTF8
enum PyCF_SOURCE_IS_UTF8;

_

Structs

PyCompilerFlags
struct PyCompilerFlags

_

See Also

<a href="http://docs.python.org/c-api/veryhigh.html"> The Very High Level Layer </a>

Meta