Module Pywrappers.Python2

module Python2: sig .. end

Python 2 specific bindings.


val py_getprogramname : unit -> string
val py_getpythonhome : unit -> string
val py_getprogramfullpath : unit -> string
val py_getprefix : unit -> string
val py_getexecprefix : unit -> string
val py_getpath : unit -> string
val py_setprogramname : string -> unit
val py_setpythonhome : string -> unit
val py_compilestringflags : string ->
string -> Pytypes.input -> int Pervasives.ref option -> Pytypes.pyobject
val pyclass_new : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pyexc_standarderror : unit -> Pytypes.pyobject
val pyeval_getrestricted : unit -> int
val pyinstance_new : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pyinstance_newraw : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pyint_aslong : Pytypes.pyobject -> int64
val pyint_fromlong : int64 -> Pytypes.pyobject
val pyint_getmax : unit -> int64
val pymethod_class : Pytypes.pyobject -> Pytypes.pyobject
val pynumber_divide : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pynumber_inplacedivide : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pynumber_int : Pytypes.pyobject -> Pytypes.pyobject
val pyobject_cmp : Pytypes.pyobject -> Pytypes.pyobject -> int Pervasives.ref -> int
val pyobject_compare : Pytypes.pyobject -> Pytypes.pyobject -> int
val pyobject_unicode : Pytypes.pyobject -> Pytypes.pyobject
val pystring_asstring : Pytypes.pyobject -> string option
val pystring_format : Pytypes.pyobject -> Pytypes.pyobject -> Pytypes.pyobject
val pystring_fromstring : string -> Pytypes.pyobject
val pystring_fromstringandsize : string -> int -> Pytypes.pyobject
val pystring_size : Pytypes.pyobject -> int