deimos.python.compile

Mirror compile.h

Members

Functions

PyAST_Compile
PyCodeObject* PyAST_Compile(_mod*, const(char)*, PyCompilerFlags*, PyArena*)

Availability: 2.*

PyAST_Compile
PyCodeObject* PyAST_Compile(_mod* mod, const(char)* s, PyCompilerFlags* f, PyArena* ar)

Availability: >= 3.2

PyAST_CompileEx
PyCodeObject* PyAST_CompileEx(_mod* mod, const(char)* filename, PyCompilerFlags* flags, int optimize, PyArena* arena)
PyFuture_FromAST
PyFutureFeatures* PyFuture_FromAST(_mod*, const(char)*)

Availability: >= 2.5

PyNode_Compile
PyCodeObject* PyNode_Compile(node*, const(char)*)

_

PyNode_CompileFlags
PyCodeObject* PyNode_CompileFlags(node*, const(char)*, PyCompilerFlags*)

Availability: <= 2.4

PyNode_Future
PyFutureFeatures* PyNode_Future(node*, const(char)*)

Availability: <= 2.4

Manifest constants

FUTURE_ABSOLUTE_IMPORT
enum FUTURE_ABSOLUTE_IMPORT;

Availability: >= 2.5

FUTURE_BARRY_AS_BDFL
enum FUTURE_BARRY_AS_BDFL;

Availability: >= 3.2

FUTURE_DIVISION
enum FUTURE_DIVISION;

_

FUTURE_GENERATORS
enum FUTURE_GENERATORS;

_

FUTURE_NESTED_SCOPES
enum FUTURE_NESTED_SCOPES;

_

FUTURE_PRINT_FUNCTION
enum FUTURE_PRINT_FUNCTION;

Availability: >= 2.6

FUTURE_UNICODE_LITERALS
enum FUTURE_UNICODE_LITERALS;

Availability: >= 2.6

FUTURE_WITH_STATEMENT
enum FUTURE_WITH_STATEMENT;

Availability: >= 2.5

Structs

PyFutureFeatures
struct PyFutureFeatures

_

_mod
struct _mod

_

Meta