Back to index

python3.2  3.2.2
Classes | Defines | Typedefs | Functions | Variables
pythonrun.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PyCompilerFlags

Defines

#define PyCF_MASK
#define PyCF_MASK_OBSOLETE   (CO_NESTED)
#define PyCF_SOURCE_IS_UTF8   0x0100
#define PyCF_DONT_IMPLY_DEDENT   0x0200
#define PyCF_ONLY_AST   0x0400
#define PyCF_IGNORE_COOKIE   0x0800
#define PyParser_SimpleParseString(S, B)   PyParser_SimpleParseStringFlags(S, B, 0)
#define PyParser_SimpleParseFile(FP, S, B)   PyParser_SimpleParseFileFlags(FP, S, B, 0)
#define Py_CompileString(str, p, s)   Py_CompileStringExFlags(str, p, s, NULL, -1)
#define Py_CompileStringFlags(str, p, s, f)   Py_CompileStringExFlags(str, p, s, f, -1)
#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)
#define PYOS_STACK_MARGIN   2048

Typedefs

typedef void(* PyOS_sighandler_t )(int)

Functions

 PyAPI_FUNC (void) Py_SetProgramName(wchar_t *)
 PyAPI_FUNC (wchar_t *) Py_GetProgramName(void)
 PyAPI_FUNC (int) Py_IsInitialized(void)
 PyAPI_FUNC (PyThreadState *) Py_NewInterpreter(void)
 PyAPI_FUNC (struct _mod *) PyParser_ASTFromString(const char *s
 PyAPI_FUNC (struct _node *) PyParser_SimpleParseStringFlags(const char *
 PyAPI_FUNC (PyObject *) PyRun_StringFlags(const char *
 PyAPI_FUNC (struct symtable *) Py_SymtableString(const char *str
 PyAPI_FUNC (const char *) Py_GetVersion(void)
 PyAPI_DATA (PyThreadState *) _Py_Finalizing
 PyAPI_FUNC (char *) PyOS_Readline(FILE *
 PyAPI_DATA (char)*(*PyOS_ReadlineFunctionPointer)(FILE *
 PyAPI_FUNC (PyOS_sighandler_t) PyOS_getsig(int)

Variables

PyCompilerFlags const char
PyCompilerFlags const char * 
filename
PyCompilerFlags const char
PyCompilerFlags const char int 
closeit
PyCompilerFlags const char
PyCompilerFlags const char int
PyCompilerFlags
flags
const char int start
const char int PyCompilerFlags
PyArena * 
arena
const char const char * enc
const char const char int char * ps1
const char const char int char
char * 
ps2
const char const char int char
char PyCompilerFlags int
errcode
 int
PyObject PyObject
PyCompilerFlags const char int
PyObject
globals
PyObject PyObject
PyCompilerFlags const char int
PyObject PyObject
locals
const char int PyCompilerFlags int optimize
const char wchar_t ** argv
FILE char *PyAPI_DATA() int(* PyOS_InputHook )(void)

Class Documentation

struct PyCompilerFlags

Definition at line 20 of file pythonrun.h.

Class Members
int cf_flags

Define Documentation

#define Py_CompileString (   str,
  p,
  s 
)    Py_CompileStringExFlags(str, p, s, NULL, -1)

Definition at line 106 of file pythonrun.h.

#define Py_CompileStringFlags (   str,
  p,
  s,
 
)    Py_CompileStringExFlags(str, p, s, f, -1)

Definition at line 107 of file pythonrun.h.

#define PyCF_DONT_IMPLY_DEDENT   0x0200

Definition at line 15 of file pythonrun.h.

#define PyCF_IGNORE_COOKIE   0x0800

Definition at line 17 of file pythonrun.h.

#define PyCF_MASK
Value:
(CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL)

Definition at line 10 of file pythonrun.h.

#define PyCF_MASK_OBSOLETE   (CO_NESTED)

Definition at line 13 of file pythonrun.h.

#define PyCF_ONLY_AST   0x0400

Definition at line 16 of file pythonrun.h.

#define PyCF_SOURCE_IS_UTF8   0x0100

Definition at line 14 of file pythonrun.h.

#define PYOS_STACK_MARGIN   2048

Definition at line 234 of file pythonrun.h.

#define PyParser_SimpleParseFile (   FP,
  S,
  B 
)    PyParser_SimpleParseFileFlags(FP, S, B, 0)

Definition at line 81 of file pythonrun.h.

Definition at line 79 of file pythonrun.h.

#define PyRun_AnyFile (   fp,
  name 
)    PyRun_AnyFileExFlags(fp, name, 0, NULL)

Definition at line 147 of file pythonrun.h.

#define PyRun_AnyFileEx (   fp,
  name,
  closeit 
)    PyRun_AnyFileExFlags(fp, name, closeit, NULL)

Definition at line 148 of file pythonrun.h.

#define PyRun_AnyFileFlags (   fp,
  name,
  flags 
)    PyRun_AnyFileExFlags(fp, name, 0, flags)

Definition at line 150 of file pythonrun.h.

#define PyRun_File (   fp,
  p,
  s,
  g,
 
)    PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)

Definition at line 157 of file pythonrun.h.

#define PyRun_FileEx (   fp,
  p,
  s,
  g,
  l,
  c 
)    PyRun_FileExFlags(fp, p, s, g, l, c, NULL)

Definition at line 159 of file pythonrun.h.

#define PyRun_FileFlags (   fp,
  p,
  s,
  g,
  l,
  flags 
)    PyRun_FileExFlags(fp, p, s, g, l, 0, flags)

Definition at line 161 of file pythonrun.h.

#define PyRun_InteractiveLoop (   f,
  p 
)    PyRun_InteractiveLoopFlags(f, p, NULL)

Definition at line 156 of file pythonrun.h.

#define PyRun_InteractiveOne (   f,
  p 
)    PyRun_InteractiveOneFlags(f, p, NULL)

Definition at line 155 of file pythonrun.h.

#define PyRun_SimpleFile (   f,
  p 
)    PyRun_SimpleFileExFlags(f, p, 0, NULL)

Definition at line 153 of file pythonrun.h.

#define PyRun_SimpleFileEx (   f,
  p,
  c 
)    PyRun_SimpleFileExFlags(f, p, c, NULL)

Definition at line 154 of file pythonrun.h.

Definition at line 152 of file pythonrun.h.

#define PyRun_String (   str,
  s,
  g,
 
)    PyRun_StringFlags(str, s, g, l, NULL)

Definition at line 146 of file pythonrun.h.


Typedef Documentation

Definition at line 247 of file pythonrun.h.


Function Documentation

FILE char * PyAPI_DATA ( PyThreadState )
PyAPI_DATA ( char  )
PyAPI_FUNC ( wchar_t *  )
PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.

PyAPI_FUNC ( struct _mod ) const
PyAPI_FUNC ( struct _node ) const
PyAPI_FUNC ( PyObject ) const
PyAPI_FUNC ( struct symtable ) const
PyAPI_FUNC ( const char *  )
PyAPI_FUNC ( char *  )

Variable Documentation

const char const char int char char PyCompilerFlags int PyArena* arena

Definition at line 62 of file pythonrun.h.

const char wchar_t** argv

Definition at line 142 of file pythonrun.h.

Definition at line 43 of file pythonrun.h.

const char const char* enc

Definition at line 68 of file pythonrun.h.

const char const char int char char PyCompilerFlags int* errcode

Definition at line 68 of file pythonrun.h.

const char* filename

Definition at line 43 of file pythonrun.h.

Definition at line 43 of file pythonrun.h.

Definition at line 95 of file pythonrun.h.

int

Definition at line 84 of file pythonrun.h.

Definition at line 95 of file pythonrun.h.

Definition at line 110 of file pythonrun.h.

const char const char int char* ps1

Definition at line 68 of file pythonrun.h.

const char const char int char char* ps2

Definition at line 68 of file pythonrun.h.

FILE char* PyAPI_DATA() int(* PyOS_InputHook)(void)

Definition at line 225 of file pythonrun.h.

const char int start

Definition at line 62 of file pythonrun.h.