The burgled-batteries Reference Manual

This is the burgled-batteries Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jan 15 04:28:20 2023 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 burgled-batteries

Lisp-Python interface

Author

pinterface <>

License

MIT

Long Description

This system provides support for embedding Python into Common Lisp via CFFI.

It uses cffi-grovel to determine sizes and values of some assorted Python types and constants. However, if you’d rather avoid this, or grovelling is not possible for you, a best-guess effort can also be made. You can note your preference for guessing by evaluating the following form before telling ASDF to load this system:
(push :burgled-batteries.guess-not-grovel *features*)

If you /would/ like to use the groveller, B-B will attempt to determine the location of Python’s C header files, and will prompt you to specify the appropriate directory if one cannot be found. To grovel against a specific copy of Python’s header files, you may need to edit
(defparameter *cpython-include-dir* ...)
in #p"grovel-include-dir.lisp".

Dependencies
  • cffi (system).
  • alexandria (system).
  • parse-declarations-1.0 (system).
  • trivial-garbage (system).
  • cl-fad (system).
Source

burgled-batteries.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 burgled-batteries/burgled-batteries.asd

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

ASDF Systems

burgled-batteries.

Packages

burgled-batteries-system.


3.1.2 burgled-batteries/packages.lisp

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Packages

3.1.3 burgled-batteries/grovel-include-dir.lisp

Dependency

packages.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Internals

3.1.4 burgled-batteries/grovel.lisp

Dependency

grovel-include-dir.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).


3.1.5 burgled-batteries/cffi-output-args.lisp

Dependency

grovel.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Public Interface
Internals

3.1.6 burgled-batteries/ffi-definers.lisp

Dependency

cffi-output-args.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Public Interface
Internals

3.1.7 burgled-batteries/ffi-interface.lisp

Dependency

ffi-definers.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Public Interface
Internals

3.1.8 burgled-batteries/ffi-conditions.lisp

Dependency

ffi-interface.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Public Interface
Internals

3.1.9 burgled-batteries/ffi-callbacks.lisp

Dependency

ffi-conditions.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Internals

3.1.10 burgled-batteries/api.lisp

Dependency

ffi-callbacks.lisp (file).

Source

burgled-batteries.asd.

Parent Component

burgled-batteries (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 python.cffi

PYTHON.CFFI is the package for defining the CFFI interface to Python’s external C functions. It provides several macros to aid in this effort, namely DEFPYFUN, DEFPYVAR, and DEFPYTYPE. See the documentation for those macros for more information.

Name translation from Python’s C names into Lisp is, in general, relatively straightforward. First, the "Py" prefix is stripped, and the very first underscore is turned into a period. Then, CamelCaseIdentifiers are converted to the more-common-to-Lisp dash-separated-identifier, and any remaining underscores are /also/ turned into dashes. In some cases (PyList, PyFunction, etc.) this results in symbol-names equal to those of CL symbols, and you should accordingly be careful within this package.

Many Python functions have yet to be defined. See TODOs, and Python docs for information on what remains.

Error Checking from C functions is handled within CFFI’s type translation system. See the CAN-ERROR foreign-type (and both the CAN-ERROR and SOFT-ERROR parse-methods) for the gory details, but to summarize: some C functions return a value indicating that an error occurred. This can be specified using CAN-ERROR (indicating that the error value is strict and definitely means an error occurred) and SOFT-ERROR (indicating that the error value may also just be a regular return value and #’%ERROR-OCCURRED-P must be consulted to verify the occurrance of an error). Types with an exclamation mark (#\!) appended are shorthand for (CAN-ERROR <type>); types with a question mark (#\?) appended are shorthand for (SOFT-ERROR <type>).

Lisp<->Python type translation is handled through the FOREIGN-PYTHON-TYPE foreign-type. "new" vs. "borrowed" and "stolen" vs. "copied" references
can be accounted for by specifying :new, :borrowed, :stolen, or :copied as arguments to the appropriate type specifier. :new and :copied are the defaults.

Python’s PyString/PyBytes type is best avoided due to the problematic nature in converting to and from the type. See the WARNING above (defpytype "PyString" ...) for details.

Source

packages.lisp.

Nickname

cpython

Use List
  • alexandria.
  • cffi.
  • common-lisp.
  • tcr.parse-declarations-1.0.
Used By List

burgled-batteries.

Public Interface
Internals

4.2 burgled-batteries-system

Source

burgled-batteries.asd.

Use List
  • asdf/interface.
  • cffi-grovel.
  • common-lisp.

4.3 burgled-batteries

Source

packages.lisp.

Use List
Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Symbol macros

Symbol Macro: *err.warn-py3k*
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +bool.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +byte-array.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +code.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +complex.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +dict.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +exc.arithmetic-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.assertion-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.attribute-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.base-exception+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.deprecation-warning+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +exc.environment-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.eoferror+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.exception+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.floating-point-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.import-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.index-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.ioerror+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.key-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.keyboard-interrupt+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.lookup-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.memory-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.name-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.not-implemented-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.oserror+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.overflow-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.reference-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.runtime-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.standard-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.syntax-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.system-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.system-exit+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.type-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.value-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +exc.zero-division-error+
Package

python.cffi.

Source

ffi-conditions.lisp.

Symbol Macro: +false+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +float.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +function.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +int.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +list.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +long.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +method.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +module.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +none+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +object.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +string.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +true+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +tuple.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +type.type+
Package

python.cffi.

Source

ffi-interface.lisp.

Symbol Macro: +unicode.type+
Package

python.cffi.

Source

ffi-interface.lisp.


5.1.2 Macros

Macro: .build-value (format &rest varargs1)

see http://docs.python.org/c-api/arg.html#Py_BuildValue

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: .build-value* (format &rest varargs21)

see http://docs.python.org/c-api/arg.html#Py_BuildValue

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: arg.parse-tuple (args format &rest varargs2)

see http://docs.python.org/c-api/arg.html#PyArg_ParseTuple

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: arg.unpack-tuple (args name min max &rest varargs4)

see http://docs.python.org/c-api/arg.html#PyArg_UnpackTuple

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: defpyfun (names args)

Defines a Lisp function which calls a Python function. If the Python function has a docstring, that docstring will be used as the Lisp function’s docstring as well.

Note that the Python interpreter must have been started and done any necessary imports for this macro to expand successfully.

Package

burgled-batteries.

Source

api.lisp.

Macro: defpymethod (names)
Package

burgled-batteries.

Source

api.lisp.

Macro: defpyslot (names)
Package

burgled-batteries.

Source

api.lisp.

Macro: err.format (exception format &rest varargs2)

see http://docs.python.org/c-api/exceptions.html#PyErr_Format

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: err.format* (exception format &rest varargs25)

see http://docs.python.org/c-api/exceptions.html#PyErr_Format

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: object.call-function (callable format &rest varargs2)

see http://docs.python.org/c-api/object.html#PyObject_CallFunction

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: object.call-function* (callable format &rest varargs25)

see http://docs.python.org/c-api/object.html#PyObject_CallFunction

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: object.call-method (o method format &rest varargs3)

see http://docs.python.org/c-api/object.html#PyObject_CallMethod

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: object.call-method* (o method format &rest varargs29)

see http://docs.python.org/c-api/object.html#PyObject_CallMethod

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: string.from-format (format &rest varargs1)

see http://docs.python.org/c-api/string.html#PyString_FromFormat

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: string.from-format* (format &rest varargs21)

see http://docs.python.org/c-api/string.html#PyString_FromFormat

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: tuple.pack (n &rest varargs1)

see http://docs.python.org/c-api/tuple.html#PyTuple_Pack

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: tuple.pack* (n &rest varargs21)

see http://docs.python.org/c-api/tuple.html#PyTuple_Pack

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: unicode.from-format (format &rest varargs1)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromFormat

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: unicode.from-format* (format &rest varargs21)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromFormat

Package

python.cffi.

Source

ffi-interface.lisp.

Macro: with-python (&body body)

EXPERIMENTAL. Ensures the CPython interpreter is running, executes BODY, then returns the interpreter to whatever state it was in prior to the WITH-PYTHON form being entered.

Package

burgled-batteries.

Source

api.lisp.

Macro: with-refcnt-barrier (&body body)
Package

python.cffi.

Source

ffi-definers.lisp.

Macro: with-unknown-translation-policy ((policy) &body body)

Sets the policy for translation of Python types for which no translation is known. Available policies are as follows:
* :PASS-THROUGH :: Returns the pointer and forces dealing with reference counts (or acceptance of refcnt leaks).
* :DISCARD :: Throws away the pointer and substitutes it with NIL.
* :BARRIER :: Sets up a barrier, the dynamic-extent of which pointers are not allowed to escape. Wraps in a FENCED struct.
* :FINALIZE :: Enables GC-based disposal. Wraps in a WRAPPER struct.

Translation policies have dynamic-extent, and may be intermixed freely.

Package

python.cffi.

Source

ffi-definers.lisp.


5.1.3 Ordinary functions

Function: .add-pending-call (callback arg)

see http://docs.python.org/c-api/init.html#Py_AddPendingCall

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .compile-string (str filename start)

see http://docs.python.org/c-api/veryhigh.html#Py_CompileString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .compile-string* (str filename start)

see http://docs.python.org/c-api/veryhigh.html#Py_CompileString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .compile-string-flags (str filename start flags)

see http://docs.python.org/c-api/veryhigh.html#Py_CompileStringFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .compile-string-flags* (str filename start flags)

see http://docs.python.org/c-api/veryhigh.html#Py_CompileStringFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .dec-ref (o)

see http://docs.python.org/c-api/refcounting.html#Py_DecRef

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .end-interpreter (tstate)

see http://docs.python.org/c-api/init.html#Py_EndInterpreter

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .finalize ()

see http://docs.python.org/c-api/init.html#Py_Finalize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-build-info ()

see http://docs.python.org/c-api/init.html#Py_GetBuildInfo

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-compiler ()

see http://docs.python.org/c-api/init.html#Py_GetCompiler

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-copyright ()

see http://docs.python.org/c-api/init.html#Py_GetCopyright

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-exec-prefix ()

see http://docs.python.org/c-api/init.html#Py_GetExecPrefix

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-path ()

see http://docs.python.org/c-api/init.html#Py_GetPath

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-platform ()

see http://docs.python.org/c-api/init.html#Py_GetPlatform

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-prefix ()

see http://docs.python.org/c-api/init.html#Py_GetPrefix

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-program-full-path ()

see http://docs.python.org/c-api/init.html#Py_GetProgramFullPath

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-program-name ()

see http://docs.python.org/c-api/init.html#Py_GetProgramName

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-python-home ()

see http://docs.python.org/c-api/init.html#Py_GetPythonHome

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .get-version ()

see http://docs.python.org/c-api/init.html#Py_GetVersion

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .inc-ref (o)

see http://docs.python.org/c-api/refcounting.html#Py_IncRef

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .init-module (name methods)

see http://docs.python.org/c-api/allocation.html#Py_InitModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .init-module* (name methods)

see http://docs.python.org/c-api/allocation.html#Py_InitModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .init-module3 (name methods doc)

see http://docs.python.org/c-api/allocation.html#Py_InitModule3

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .init-module3* (name methods doc)

see http://docs.python.org/c-api/allocation.html#Py_InitModule3

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .init-module4 (name methods doc self apiver)

see http://docs.python.org/c-api/allocation.html#Py_InitModule4_64

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .init-module4* (name methods doc self apiver)

see http://docs.python.org/c-api/allocation.html#Py_InitModule4_64

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .initialize ()

Initialize the Python interpreter. This, or .INITIALIZE-EX, must be called before Python may be used.

see http://docs.python.org/c-api/init.html#Py_Initialize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .initialize-ex (initsigs)

Like .INITIALIZE if INITSIGS is 1. If INITSIGS is 0, skips registration of signal handlers.

see http://docs.python.org/c-api/init.html#Py_InitializeEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .is-initialized ()

Returns true if the Python interpreter has been initialize, false otherwise.

see http://docs.python.org/c-api/init.html#Py_IsInitialized

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .new-interpreter ()

see http://docs.python.org/c-api/init.html#Py_NewInterpreter

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .set-program-name (name)

see http://docs.python.org/c-api/init.html#Py_SetProgramName

Package

python.cffi.

Source

ffi-interface.lisp.

Function: .set-python-home (home)

see http://docs.python.org/c-api/init.html#Py_SetPythonHome

Package

python.cffi.

Source

ffi-interface.lisp.

Function: apply (func &rest args)
Package

burgled-batteries.

Source

api.lisp.

Function: bool.from-long (v)

see http://docs.python.org/c-api/bool.html#PyBool_FromLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: bool.from-long* (v)

see http://docs.python.org/c-api/bool.html#PyBool_FromLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.as-string (bytearray)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.concat (a b)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_Concat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.concat* (a b)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_Concat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.from-object (o)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_FromObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.from-object* (o)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_FromObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.from-string-and-size (string len)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_FromStringAndSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.from-string-and-size* (string len)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_FromStringAndSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.resize (bytearray len)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_Resize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: byte-array.size (bytearray)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: callable.check (o)

see http://docs.python.org/c-api/object.html#PyCallable_Check

Package

python.cffi.

Source

ffi-interface.lisp.

Function: code.new (argcount nlocals stacksize flags code consts names varnames freevars cellvars filename name firstlineno lnotab)

see http://docs.python.org/c-api/code.html#PyCode_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: code.new* (argcount nlocals stacksize flags code consts names varnames freevars cellvars filename name firstlineno lnotab)

see http://docs.python.org/c-api/code.html#PyCode_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: complex.from-doubles (real imag)

see http://docs.python.org/c-api/complex.html#PyComplex_FromDoubles

Package

python.cffi.

Source

ffi-interface.lisp.

Function: complex.from-doubles* (real imag)

see http://docs.python.org/c-api/complex.html#PyComplex_FromDoubles

Package

python.cffi.

Source

ffi-interface.lisp.

Function: complex.imag-as-double (op)

see http://docs.python.org/c-api/complex.html#PyComplex_ImagAsDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: complex.real-as-double (op)

see http://docs.python.org/c-api/complex.html#PyComplex_RealAsDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict-proxy.new (dict)

see http://docs.python.org/c-api/dict.html#PyDictProxy_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict-proxy.new* (dict)

see http://docs.python.org/c-api/dict.html#PyDictProxy_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.clear (p)

see http://docs.python.org/c-api/dict.html#PyDict_Clear

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.contains (p key)

see http://docs.python.org/c-api/dict.html#PyDict_Contains

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.copy (p)

see http://docs.python.org/c-api/dict.html#PyDict_Copy

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.copy* (p)

see http://docs.python.org/c-api/dict.html#PyDict_Copy

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.del-item (p key)

see http://docs.python.org/c-api/dict.html#PyDict_DelItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.del-item-string (p key)

see http://docs.python.org/c-api/dict.html#PyDict_DelItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.get-item (p key)

see http://docs.python.org/c-api/dict.html#PyDict_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.get-item* (p key)

see http://docs.python.org/c-api/dict.html#PyDict_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.get-item-string (p key)

see http://docs.python.org/c-api/dict.html#PyDict_GetItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.get-item-string* (p key)

see http://docs.python.org/c-api/dict.html#PyDict_GetItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.items (p)

see http://docs.python.org/c-api/dict.html#PyDict_Items

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.items* (p)

see http://docs.python.org/c-api/dict.html#PyDict_Items

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.keys (p)

see http://docs.python.org/c-api/dict.html#PyDict_Keys

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.keys* (p)

see http://docs.python.org/c-api/dict.html#PyDict_Keys

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.merge (a b override)

see http://docs.python.org/c-api/dict.html#PyDict_Merge

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.merge-from-seq2 (a seq2 override)

see http://docs.python.org/c-api/dict.html#PyDict_MergeFromSeq2

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.new ()

see http://docs.python.org/c-api/dict.html#PyDict_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.new* ()

see http://docs.python.org/c-api/dict.html#PyDict_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.next (p ppos)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.set-item (p key val)

see http://docs.python.org/c-api/dict.html#PyDict_SetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.set-item-string (p key val)

see http://docs.python.org/c-api/dict.html#PyDict_SetItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.size (p)

see http://docs.python.org/c-api/dict.html#PyDict_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.update (a b)

see http://docs.python.org/c-api/dict.html#PyDict_Update

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.values (p)

see http://docs.python.org/c-api/dict.html#PyDict_Values

Package

python.cffi.

Source

ffi-interface.lisp.

Function: dict.values* (p)

see http://docs.python.org/c-api/dict.html#PyDict_Values

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.bad-argument ()

see http://docs.python.org/c-api/exceptions.html#PyErr_BadArgument

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.bad-internal-call ()

see http://docs.python.org/c-api/exceptions.html#PyErr_BadInternalCall

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.check-signals ()

see http://docs.python.org/c-api/exceptions.html#PyErr_CheckSignals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.clear ()

see http://docs.python.org/c-api/exceptions.html#PyErr_Clear

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.exception-matches (exc)

see http://docs.python.org/c-api/exceptions.html#PyErr_ExceptionMatches

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.fetch ()
Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.given-exception-matches (given exc)

see http://docs.python.org/c-api/exceptions.html#PyErr_GivenExceptionMatches

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.new-exception (name base dict)

see http://docs.python.org/c-api/exceptions.html#PyErr_NewException

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.new-exception* (name base dict)

see http://docs.python.org/c-api/exceptions.html#PyErr_NewException

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.new-exception-with-doc (name doc base dict)

see http://docs.python.org/c-api/exceptions.html#PyErr_NewExceptionWithDoc

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.new-exception-with-doc* (name doc base dict)

see http://docs.python.org/c-api/exceptions.html#PyErr_NewExceptionWithDoc

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.no-memory ()

see http://docs.python.org/c-api/exceptions.html#PyErr_NoMemory

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.no-memory* ()

see http://docs.python.org/c-api/exceptions.html#PyErr_NoMemory

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.normalize-exception (exc val tb)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.occurred ()

see http://docs.python.org/c-api/exceptions.html#PyErr_Occurred

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.occurred* ()

see http://docs.python.org/c-api/exceptions.html#PyErr_Occurred

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.print ()

see http://docs.python.org/c-api/exceptions.html#PyErr_Print

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.print-ex (set-sys-last-vars)

see http://docs.python.org/c-api/exceptions.html#PyErr_PrintEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.restore (type value traceback)

see http://docs.python.org/c-api/exceptions.html#PyErr_Restore

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-exc-from-windows-err (type ierr)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetExcFromWindowsErr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-exc-from-windows-err* (type ierr)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetExcFromWindowsErr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-exc-from-windows-err-with-filename (type ierr filename)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetExcFromWindowsErrWithFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-exc-from-windows-err-with-filename* (type ierr filename)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetExcFromWindowsErrWithFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-errno (type)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromErrno

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-errno* (type)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromErrno

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-errno-with-filename (type filename)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromErrnoWithFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-errno-with-filename* (type filename)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromErrnoWithFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-windows-err (ierr)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromWindowsErr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-windows-err* (ierr)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromWindowsErr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-windows-err-with-filename (ierr filename)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromWindowsErrWithFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-from-windows-err-with-filename* (ierr filename)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetFromWindowsErrWithFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-interrupt ()

see http://docs.python.org/c-api/exceptions.html#PyErr_SetInterrupt

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-none (type)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetNone

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-object (type value)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.set-string (type message)

see http://docs.python.org/c-api/exceptions.html#PyErr_SetString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.warn (category message)

see http://docs.python.org/c-api/exceptions.html#PyErr_Warn

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.warn-ex (category message stacklevel)

see http://docs.python.org/c-api/exceptions.html#PyErr_WarnEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.warn-explicit (category message filename lineno module registry)

see http://docs.python.org/c-api/exceptions.html#PyErr_WarnExplicit

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.warn-py3k (message stacklevel)

see http://docs.python.org/c-api/exceptions.html#PyErr_WarnPy3k

Package

python.cffi.

Source

ffi-interface.lisp.

Function: err.write-unraisable (obj)

see http://docs.python.org/c-api/exceptions.html#PyErr_WriteUnraisable

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.acquire-lock ()

see http://docs.python.org/c-api/init.html#PyEval_AcquireLock

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.acquire-thread (tstate)

see http://docs.python.org/c-api/init.html#PyEval_AcquireThread

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.eval-code (co globals locals)

see http://docs.python.org/c-api/veryhigh.html#PyEval_EvalCode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.eval-code* (co globals locals)

see http://docs.python.org/c-api/veryhigh.html#PyEval_EvalCode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.eval-frame (f)

see http://docs.python.org/c-api/veryhigh.html#PyEval_EvalFrame

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.eval-frame* (f)

see http://docs.python.org/c-api/veryhigh.html#PyEval_EvalFrame

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.eval-frame-ex (f throwflag)

see http://docs.python.org/c-api/veryhigh.html#PyEval_EvalFrameEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.eval-frame-ex* (f throwflag)

see http://docs.python.org/c-api/veryhigh.html#PyEval_EvalFrameEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-builtins ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetBuiltins

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-builtins* ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetBuiltins

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-call-stats (self)

see http://docs.python.org/c-api/init.html#PyEval_GetCallStats

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-call-stats* (self)

see http://docs.python.org/c-api/init.html#PyEval_GetCallStats

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-frame ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetFrame

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-func-desc (func)

see http://docs.python.org/c-api/reflection.html#PyEval_GetFuncDesc

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-func-name (func)

see http://docs.python.org/c-api/reflection.html#PyEval_GetFuncName

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-globals ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetGlobals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-globals* ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetGlobals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-locals ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetLocals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-locals* ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetLocals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.get-restricted ()

see http://docs.python.org/c-api/reflection.html#PyEval_GetRestricted

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.init-threads ()

see http://docs.python.org/c-api/init.html#PyEval_InitThreads

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.merge-compiler-flags (cf)

see http://docs.python.org/c-api/veryhigh.html#PyEval_MergeCompilerFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.re-init-threads ()

see http://docs.python.org/c-api/init.html#PyEval_ReInitThreads

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.release-lock ()

see http://docs.python.org/c-api/init.html#PyEval_ReleaseLock

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.release-thread (tstate)

see http://docs.python.org/c-api/init.html#PyEval_ReleaseThread

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.restore-thread (tstate)

see http://docs.python.org/c-api/init.html#PyEval_RestoreThread

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.save-thread ()

see http://docs.python.org/c-api/init.html#PyEval_SaveThread

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.set-profile (func obj)

see http://docs.python.org/c-api/init.html#PyEval_SetProfile

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.set-trace (func obj)

see http://docs.python.org/c-api/init.html#PyEval_SetTrace

Package

python.cffi.

Source

ffi-interface.lisp.

Function: eval.threads-initialized ()

see http://docs.python.org/c-api/init.html#PyEval_ThreadsInitialized

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.as-double (pyfloat)

see http://docs.python.org/c-api/float.html#PyFloat_AsDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.clear-free-list ()

see http://docs.python.org/c-api/float.html#PyFloat_ClearFreeList

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.from-double (v)

see http://docs.python.org/c-api/float.html#PyFloat_FromDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.from-double* (v)

see http://docs.python.org/c-api/float.html#PyFloat_FromDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.from-string (str)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.from-string* (str)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.get-info ()

see http://docs.python.org/c-api/float.html#PyFloat_GetInfo

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.get-info* ()

see http://docs.python.org/c-api/float.html#PyFloat_GetInfo

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.get-max ()

see http://docs.python.org/c-api/float.html#PyFloat_GetMax

Package

python.cffi.

Source

ffi-interface.lisp.

Function: float.get-min ()

see http://docs.python.org/c-api/float.html#PyFloat_GetMin

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-closure (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetClosure

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-closure* (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetClosure

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-code (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetCode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-code* (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetCode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-defaults (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetDefaults

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-defaults* (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetDefaults

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-globals (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetGlobals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-globals* (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetGlobals

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-module (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.get-module* (op)

see http://docs.python.org/c-api/function.html#PyFunction_GetModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.new (code globals)

see http://docs.python.org/c-api/function.html#PyFunction_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.new* (code globals)

see http://docs.python.org/c-api/function.html#PyFunction_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.set-closure (op closure)

see http://docs.python.org/c-api/function.html#PyFunction_SetClosure

Package

python.cffi.

Source

ffi-interface.lisp.

Function: function.set-defaults (op defaults)

see http://docs.python.org/c-api/function.html#PyFunction_SetDefaults

Package

python.cffi.

Source

ffi-interface.lisp.

Function: gilstate.ensure ()

see http://docs.python.org/c-api/init.html#PyGILState_Ensure

Package

python.cffi.

Source

ffi-interface.lisp.

Function: gilstate.get-this-thread-state ()

see http://docs.python.org/c-api/init.html#PyGILState_GetThisThreadState

Package

python.cffi.

Source

ffi-interface.lisp.

Function: gilstate.release (state)

see http://docs.python.org/c-api/init.html#PyGILState_Release

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import (name)

Imports a Python module into the current namespace. Should be equivalent to (run "import NAME").

Package

burgled-batteries.

Source

api.lisp.

Function: import.add-module (name)

see http://docs.python.org/c-api/import.html#PyImport_AddModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.add-module* (name)

see http://docs.python.org/c-api/import.html#PyImport_AddModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.append-inittab (name callback)

see http://docs.python.org/c-api/import.html#PyImport_AppendInittab

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.exec-code-module (name co)

see http://docs.python.org/c-api/import.html#PyImport_ExecCodeModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.exec-code-module* (name co)

see http://docs.python.org/c-api/import.html#PyImport_ExecCodeModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.exec-code-module-ex (name co pathname)

see http://docs.python.org/c-api/import.html#PyImport_ExecCodeModuleEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.exec-code-module-ex* (name co pathname)

see http://docs.python.org/c-api/import.html#PyImport_ExecCodeModuleEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.extend-inittab (newtab)

see http://docs.python.org/c-api/import.html#PyImport_ExtendInittab

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.get-importer (path)

see http://docs.python.org/c-api/import.html#PyImport_GetImporter

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.get-importer* (path)

see http://docs.python.org/c-api/import.html#PyImport_GetImporter

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.get-magic-number ()

see http://docs.python.org/c-api/import.html#PyImport_GetMagicNumber

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.get-module-dict ()

see http://docs.python.org/c-api/import.html#PyImport_GetModuleDict

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.get-module-dict* ()

see http://docs.python.org/c-api/import.html#PyImport_GetModuleDict

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import (name)

see http://docs.python.org/c-api/import.html#PyImport_Import

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import* (name)

see http://docs.python.org/c-api/import.html#PyImport_Import

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-frozen-module (name)

see http://docs.python.org/c-api/import.html#PyImport_ImportFrozenModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module (name)

see http://docs.python.org/c-api/import.html#PyImport_ImportModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module* (name)

see http://docs.python.org/c-api/import.html#PyImport_ImportModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module-ex (name globals locals fromlist)

see http://docs.python.org/c-api/import.html#PyImport_ImportModuleEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module-ex* (name globals locals fromlist)

see http://docs.python.org/c-api/import.html#PyImport_ImportModuleEx

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module-level (name globals locals fromlist level)

see http://docs.python.org/c-api/import.html#PyImport_ImportModuleLevel

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module-level* (name globals locals fromlist level)

see http://docs.python.org/c-api/import.html#PyImport_ImportModuleLevel

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module-no-block (name)

see http://docs.python.org/c-api/import.html#PyImport_ImportModuleNoBlock

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.import-module-no-block* (name)

see http://docs.python.org/c-api/import.html#PyImport_ImportModuleNoBlock

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.reload-module (m)

see http://docs.python.org/c-api/import.html#PyImport_ReloadModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: import.reload-module* (m)

see http://docs.python.org/c-api/import.html#PyImport_ReloadModule

Package

python.cffi.

Source

ffi-interface.lisp.

Function: index.check (o)

see http://docs.python.org/c-api/number.html#PyIndex_Check

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.as-long (io)

see http://docs.python.org/c-api/int.html#PyInt_AsLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.as-ssize-t (io)

see http://docs.python.org/c-api/int.html#PyInt_AsSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.as-unsigned-long-long-mask (io)

see http://docs.python.org/c-api/int.html#PyInt_AsUnsignedLongLongMask

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.as-unsigned-long-mask (io)

see http://docs.python.org/c-api/int.html#PyInt_AsUnsignedLongMask

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.clear-free-list ()

see http://docs.python.org/c-api/int.html#PyInt_ClearFreeList

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-long (ival)

see http://docs.python.org/c-api/int.html#PyInt_FromLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-long* (ival)

see http://docs.python.org/c-api/int.html#PyInt_FromLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-size-t (ival)

see http://docs.python.org/c-api/int.html#PyInt_FromSize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-size-t* (ival)

see http://docs.python.org/c-api/int.html#PyInt_FromSize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-ssize-t (ival)

see http://docs.python.org/c-api/int.html#PyInt_FromSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-ssize-t* (ival)

see http://docs.python.org/c-api/int.html#PyInt_FromSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-string (str base)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.from-string* (str base)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: int.get-max ()

see http://docs.python.org/c-api/int.html#PyInt_GetMax

Package

python.cffi.

Source

ffi-interface.lisp.

Function: interpreter-state.clear (interp)

see http://docs.python.org/c-api/init.html#PyInterpreterState_Clear

Package

python.cffi.

Source

ffi-interface.lisp.

Function: interpreter-state.delete (interp)

see http://docs.python.org/c-api/init.html#PyInterpreterState_Delete

Package

python.cffi.

Source

ffi-interface.lisp.

Function: interpreter-state.head ()

see http://docs.python.org/c-api/init.html#PyInterpreterState_Head

Package

python.cffi.

Source

ffi-interface.lisp.

Function: interpreter-state.new ()

see http://docs.python.org/c-api/init.html#PyInterpreterState_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: interpreter-state.next (interp)

see http://docs.python.org/c-api/init.html#PyInterpreterState_Next

Package

python.cffi.

Source

ffi-interface.lisp.

Function: interpreter-state.thread-head (interp)

see http://docs.python.org/c-api/init.html#PyInterpreterState_ThreadHead

Package

python.cffi.

Source

ffi-interface.lisp.

Function: iter.check (o)

see http://docs.python.org/c-api/iter.html#PyIter_Check

Package

python.cffi.

Source

ffi-interface.lisp.

Function: iter.next (o)

see http://docs.python.org/c-api/iter.html#PyIter_Next

Package

python.cffi.

Source

ffi-interface.lisp.

Function: iter.next* (o)

see http://docs.python.org/c-api/iter.html#PyIter_Next

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.append (list item)

see http://docs.python.org/c-api/list.html#PyList_Append

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.as-tuple (list)

see http://docs.python.org/c-api/list.html#PyList_AsTuple

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.as-tuple* (list)

see http://docs.python.org/c-api/list.html#PyList_AsTuple

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.get-item (list index)

see http://docs.python.org/c-api/list.html#PyList_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.get-item* (list index)

see http://docs.python.org/c-api/list.html#PyList_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.get-slice (list low high)

see http://docs.python.org/c-api/list.html#PyList_GetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.get-slice* (list low high)

see http://docs.python.org/c-api/list.html#PyList_GetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.insert (list index item)

see http://docs.python.org/c-api/list.html#PyList_Insert

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.new (len)

see http://docs.python.org/c-api/list.html#PyList_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.new* (len)

see http://docs.python.org/c-api/list.html#PyList_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.reverse (list)

see http://docs.python.org/c-api/list.html#PyList_Reverse

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.set-item (list index item)

see http://docs.python.org/c-api/list.html#PyList_SetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.set-slice (list low high itemlist)

see http://docs.python.org/c-api/list.html#PyList_SetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.size (list)

see http://docs.python.org/c-api/list.html#PyList_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: list.sort (list)

see http://docs.python.org/c-api/list.html#PyList_Sort

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-double (pylong)

see http://docs.python.org/c-api/long.html#PyLong_AsDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-long (pylong)

see http://docs.python.org/c-api/long.html#PyLong_AsLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-long-and-overflow (pylong)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-long-long (pylong)

see http://docs.python.org/c-api/long.html#PyLong_AsLongLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-long-long-and-overflow (pylong)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-ssize-t (pylong)

see http://docs.python.org/c-api/long.html#PyLong_AsSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-unsigned-long (pylong)

see http://docs.python.org/c-api/long.html#PyLong_AsUnsignedLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-unsigned-long-long (pylong)

see http://docs.python.org/c-api/long.html#PyLong_AsUnsignedLongLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-unsigned-long-long-mask (io)

see http://docs.python.org/c-api/long.html#PyLong_AsUnsignedLongLongMask

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.as-unsigned-long-mask (io)

see http://docs.python.org/c-api/long.html#PyLong_AsUnsignedLongMask

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-double (v)

see http://docs.python.org/c-api/long.html#PyLong_FromDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-double* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromDouble

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-long (v)

see http://docs.python.org/c-api/long.html#PyLong_FromLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-long* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-long-long (v)

see http://docs.python.org/c-api/long.html#PyLong_FromLongLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-long-long* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromLongLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-size-t (v)

see http://docs.python.org/c-api/long.html#PyLong_FromSize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-size-t* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromSize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-ssize-t (v)

see http://docs.python.org/c-api/long.html#PyLong_FromSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-ssize-t* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-string (str base)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-string* (str base)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-unicode (u length base)

see http://docs.python.org/c-api/long.html#PyLong_FromUnicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-unicode* (u length base)

see http://docs.python.org/c-api/long.html#PyLong_FromUnicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-unsigned-long (v)

see http://docs.python.org/c-api/long.html#PyLong_FromUnsignedLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-unsigned-long* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromUnsignedLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-unsigned-long-long (v)

see http://docs.python.org/c-api/long.html#PyLong_FromUnsignedLongLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: long.from-unsigned-long-long* (v)

see http://docs.python.org/c-api/long.html#PyLong_FromUnsignedLongLong

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.check (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Check

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.del-item (o key)

see http://docs.python.org/c-api/mapping.html#PyMapping_DelItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.del-item-string (o key)

see http://docs.python.org/c-api/mapping.html#PyMapping_DelItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.get-item-string (o key)

see http://docs.python.org/c-api/mapping.html#PyMapping_GetItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.get-item-string* (o key)

see http://docs.python.org/c-api/mapping.html#PyMapping_GetItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.has-key (o key)

see http://docs.python.org/c-api/mapping.html#PyMapping_HasKey

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.has-key-string (o key)

see http://docs.python.org/c-api/mapping.html#PyMapping_HasKeyString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.items (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Items

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.items* (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Items

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.keys (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Keys

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.keys* (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Keys

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.length (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Length

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.set-item-string (o key v)

see http://docs.python.org/c-api/mapping.html#PyMapping_SetItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.size (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.values (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Values

Package

python.cffi.

Source

ffi-interface.lisp.

Function: mapping.values* (o)

see http://docs.python.org/c-api/mapping.html#PyMapping_Values

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.class (meth)

see http://docs.python.org/c-api/method.html#PyMethod_Class

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.class* (meth)

see http://docs.python.org/c-api/method.html#PyMethod_Class

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.clear-free-list ()

see http://docs.python.org/c-api/method.html#PyMethod_ClearFreeList

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.function (meth)

see http://docs.python.org/c-api/method.html#PyMethod_Function

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.function* (meth)

see http://docs.python.org/c-api/method.html#PyMethod_Function

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.new (func self class)

see http://docs.python.org/c-api/method.html#PyMethod_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.new* (func self class)

see http://docs.python.org/c-api/method.html#PyMethod_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.self (meth)

see http://docs.python.org/c-api/method.html#PyMethod_Self

Package

python.cffi.

Source

ffi-interface.lisp.

Function: method.self* (meth)

see http://docs.python.org/c-api/method.html#PyMethod_Self

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.add-int-constant (module name value)

see http://docs.python.org/c-api/module.html#PyModule_AddIntConstant

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.add-object (module name value)

see http://docs.python.org/c-api/module.html#PyModule_AddObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.add-string-constant (module name value)

see http://docs.python.org/c-api/module.html#PyModule_AddStringConstant

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.get-dict (module)

see http://docs.python.org/c-api/module.html#PyModule_GetDict

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.get-dict* (module)

see http://docs.python.org/c-api/module.html#PyModule_GetDict

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.get-filename (module)

see http://docs.python.org/c-api/module.html#PyModule_GetFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.get-name (module)

see http://docs.python.org/c-api/module.html#PyModule_GetName

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.new (name)

see http://docs.python.org/c-api/module.html#PyModule_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: module.new* (name)

see http://docs.python.org/c-api/module.html#PyModule_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.absolute (o)

see http://docs.python.org/c-api/number.html#PyNumber_Absolute

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.absolute* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Absolute

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.add (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Add

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.add* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Add

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.and (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_And

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.and* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_And

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.as-ssize-t (o exc)

see http://docs.python.org/c-api/number.html#PyNumber_AsSsize_t

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.check (o)

see http://docs.python.org/c-api/number.html#PyNumber_Check

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.coerce (p1 p2)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.coerce-ex (p1 p2)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.divide (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Divide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.divide* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Divide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.divmod (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Divmod

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.divmod* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Divmod

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.float (o)

see http://docs.python.org/c-api/number.html#PyNumber_Float

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.float* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Float

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.floor-divide (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_FloorDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.floor-divide* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_FloorDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-add (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceAdd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-add* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceAdd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-and (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceAnd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-and* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceAnd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-divide (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-divide* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-floor-divide (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceFloorDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-floor-divide* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceFloorDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-lshift (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceLshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-lshift* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceLshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-multiply (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceMultiply

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-multiply* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceMultiply

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-or (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceOr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-or* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceOr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-power (o1 o2 o3)

see http://docs.python.org/c-api/number.html#PyNumber_InPlacePower

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-power* (o1 o2 o3)

see http://docs.python.org/c-api/number.html#PyNumber_InPlacePower

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-remainder (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceRemainder

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-remainder* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceRemainder

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-rshift (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceRshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-rshift* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceRshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-subtract (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceSubtract

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-subtract* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceSubtract

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-true-divide (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceTrueDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-true-divide* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceTrueDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-xor (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceXor

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.in-place-xor* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_InPlaceXor

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.index (o)

see http://docs.python.org/c-api/number.html#PyNumber_Index

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.index* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Index

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.int (o)

see http://docs.python.org/c-api/number.html#PyNumber_Int

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.int* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Int

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.invert (o)

see http://docs.python.org/c-api/number.html#PyNumber_Invert

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.invert* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Invert

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.long (o)

see http://docs.python.org/c-api/number.html#PyNumber_Long

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.long* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Long

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.lshift (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Lshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.lshift* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Lshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.multiply (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Multiply

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.multiply* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Multiply

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.negative (o)

see http://docs.python.org/c-api/number.html#PyNumber_Negative

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.negative* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Negative

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.or (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Or

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.or* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Or

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.positive (o)

see http://docs.python.org/c-api/number.html#PyNumber_Positive

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.positive* (o)

see http://docs.python.org/c-api/number.html#PyNumber_Positive

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.power (o1 o2 o3)

see http://docs.python.org/c-api/number.html#PyNumber_Power

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.power* (o1 o2 o3)

see http://docs.python.org/c-api/number.html#PyNumber_Power

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.remainder (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Remainder

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.remainder* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Remainder

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.rshift (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Rshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.rshift* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Rshift

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.subtract (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Subtract

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.subtract* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Subtract

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.to-base (n base)

see http://docs.python.org/c-api/number.html#PyNumber_ToBase

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.to-base* (n base)

see http://docs.python.org/c-api/number.html#PyNumber_ToBase

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.true-divide (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_TrueDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.true-divide* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_TrueDivide

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.xor (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Xor

Package

python.cffi.

Source

ffi-interface.lisp.

Function: number.xor* (o1 o2)

see http://docs.python.org/c-api/number.html#PyNumber_Xor

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.as-file-descriptor (o)

see http://docs.python.org/c-api/object.html#PyObject_AsFileDescriptor

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.bytes (o)

see http://docs.python.org/c-api/object.html#PyObject_Bytes

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.bytes* (o)

see http://docs.python.org/c-api/object.html#PyObject_Bytes

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.call (callable-object args kw)

see http://docs.python.org/c-api/object.html#PyObject_Call

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.call* (callable-object args kw)

see http://docs.python.org/c-api/object.html#PyObject_Call

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.call-object (callable-object args)

see http://docs.python.org/c-api/object.html#PyObject_CallObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.call-object* (callable-object args)

see http://docs.python.org/c-api/object.html#PyObject_CallObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.cmp (o1 o2)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.compare (o1 o2)

see http://docs.python.org/c-api/object.html#PyObject_Compare

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.del (op)

see http://docs.python.org/c-api/allocation.html#PyObject_Del

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.del-attr (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_DelAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.del-attr-string (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_DelAttrString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.del-item (o key)

see http://docs.python.org/c-api/object.html#PyObject_DelItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.del-item-string (o key)

see http://docs.python.org/c-api/object.html#PyObject_DelItemString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.dir (o)

see http://docs.python.org/c-api/object.html#PyObject_Dir

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.dir* (o)

see http://docs.python.org/c-api/object.html#PyObject_Dir

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.free (op)

see http://docs.python.org/c-api/allocation.html#PyObject_Free

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-del (op)

see http://docs.python.org/c-api/gcsupport.html#PyObject_GC_Del

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-new (type)

see http://docs.python.org/c-api/gcsupport.html#_PyObject_GC_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-new* (type)

see http://docs.python.org/c-api/gcsupport.html#_PyObject_GC_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-new-var (type size)

see http://docs.python.org/c-api/gcsupport.html#_PyObject_GC_NewVar

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-resize (op newsize)

see http://docs.python.org/c-api/gcsupport.html#_PyObject_GC_Resize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-resize* (op newsize)

see http://docs.python.org/c-api/gcsupport.html#_PyObject_GC_Resize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-track (op)

see http://docs.python.org/c-api/gcsupport.html#PyObject_GC_Track

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.gc-un-track (op)

see http://docs.python.org/c-api/gcsupport.html#PyObject_GC_UnTrack

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.generic-get-attr (o name)

see http://docs.python.org/c-api/object.html#PyObject_GenericGetAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.generic-get-attr* (o name)

see http://docs.python.org/c-api/object.html#PyObject_GenericGetAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.generic-set-attr (o name value)

see http://docs.python.org/c-api/object.html#PyObject_GenericSetAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-attr (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_GetAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-attr* (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_GetAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-attr-string (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_GetAttrString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-attr-string* (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_GetAttrString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-item (o key)

see http://docs.python.org/c-api/object.html#PyObject_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-item* (o key)

see http://docs.python.org/c-api/object.html#PyObject_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-iter (o)

see http://docs.python.org/c-api/object.html#PyObject_GetIter

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.get-iter* (o)

see http://docs.python.org/c-api/object.html#PyObject_GetIter

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.has-attr (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_HasAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.has-attr-string (o attr-name)

see http://docs.python.org/c-api/object.html#PyObject_HasAttrString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.hash (o)

see http://docs.python.org/c-api/object.html#PyObject_Hash

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.hash-not-implemented (o)

see http://docs.python.org/c-api/object.html#PyObject_HashNotImplemented

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.init (op type)

see http://docs.python.org/c-api/allocation.html#PyObject_Init

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.init* (op type)

see http://docs.python.org/c-api/allocation.html#PyObject_Init

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.init-var (op type size)

see http://docs.python.org/c-api/allocation.html#PyObject_InitVar

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.is-instance (inst cls)

see http://docs.python.org/c-api/object.html#PyObject_IsInstance

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.is-subclass (derived cls)

see http://docs.python.org/c-api/object.html#PyObject_IsSubclass

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.is-true (o)

see http://docs.python.org/c-api/object.html#PyObject_IsTrue

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.length (o)

see http://docs.python.org/c-api/object.html#PyObject_Length

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.new (type)

see http://docs.python.org/c-api/allocation.html#_PyObject_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.new* (type)

see http://docs.python.org/c-api/allocation.html#_PyObject_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.new-var (type size)

see http://docs.python.org/c-api/allocation.html#_PyObject_NewVar

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.not (o)

see http://docs.python.org/c-api/object.html#PyObject_Not

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.repr (o)

see http://docs.python.org/c-api/object.html#PyObject_Repr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.repr* (o)

see http://docs.python.org/c-api/object.html#PyObject_Repr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.rich-compare (o1 o2 opid)

see http://docs.python.org/c-api/object.html#PyObject_RichCompare

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.rich-compare* (o1 o2 opid)

see http://docs.python.org/c-api/object.html#PyObject_RichCompare

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.rich-compare-bool (o1 o2 opid)

see http://docs.python.org/c-api/object.html#PyObject_RichCompareBool

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.set-attr (o attr-name v)

see http://docs.python.org/c-api/object.html#PyObject_SetAttr

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.set-attr-string (o attr-name v)

see http://docs.python.org/c-api/object.html#PyObject_SetAttrString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.set-item (o key v)

see http://docs.python.org/c-api/object.html#PyObject_SetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.size (o)

see http://docs.python.org/c-api/object.html#PyObject_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.str (o)

see http://docs.python.org/c-api/object.html#PyObject_Str

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.str* (o)

see http://docs.python.org/c-api/object.html#PyObject_Str

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.type (o)

see http://docs.python.org/c-api/object.html#PyObject_Type

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.type* (o)

see http://docs.python.org/c-api/object.html#PyObject_Type

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.type-check (o type)

see http://docs.python.org/c-api/object.html#PyObject_TypeCheck

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.unicode (o)

see http://docs.python.org/c-api/object.html#PyObject_Unicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: object.unicode* (o)

see http://docs.python.org/c-api/object.html#PyObject_Unicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: parser.simple-parse-string (str start)

see http://docs.python.org/c-api/veryhigh.html#PyParser_SimpleParseString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: parser.simple-parse-string-flags (str start flags)

see http://docs.python.org/c-api/veryhigh.html#PyParser_SimpleParseStringFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: parser.simple-parse-string-flags-filename (str filename start flags)

see http://docs.python.org/c-api/veryhigh.html#PyParser_SimpleParseStringFlagsFilename

Package

python.cffi.

Source

ffi-interface.lisp.

Function: run (thing)

Like RUN*, but makes an effort to return a Lispy value.

Package

burgled-batteries.

Source

api.lisp.

Function: run.simple-string (command)

see http://docs.python.org/c-api/veryhigh.html#PyRun_SimpleString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: run.simple-string-flags (command flags)

see http://docs.python.org/c-api/veryhigh.html#PyRun_SimpleStringFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: run.string (str start globals locals)

see http://docs.python.org/c-api/veryhigh.html#PyRun_String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: run.string* (str start globals locals)

see http://docs.python.org/c-api/veryhigh.html#PyRun_String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: run.string-flags (str start globals locals flags)

see http://docs.python.org/c-api/veryhigh.html#PyRun_StringFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: run.string-flags* (str start globals locals flags)

see http://docs.python.org/c-api/veryhigh.html#PyRun_StringFlags

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.check (o)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.concat (o1 o2)

see http://docs.python.org/c-api/sequence.html#PySequence_Concat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.concat* (o1 o2)

see http://docs.python.org/c-api/sequence.html#PySequence_Concat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.contains (o value)

see http://docs.python.org/c-api/sequence.html#PySequence_Contains

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.count (o value)

see http://docs.python.org/c-api/sequence.html#PySequence_Count

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.del-item (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_DelItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.del-slice (o i1 i2)

see http://docs.python.org/c-api/sequence.html#PySequence_DelSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.fast (o m)

see http://docs.python.org/c-api/sequence.html#PySequence_Fast

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.fast* (o m)

see http://docs.python.org/c-api/sequence.html#PySequence_Fast

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.fast-get-item (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_Fast_GET_ITEM

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.fast-get-item* (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_Fast_GET_ITEM

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.fast-get-size (o)

see http://docs.python.org/c-api/sequence.html#PySequence_Fast_GET_SIZE

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.get-item (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.get-item* (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.get-slice (o i1 i2)

see http://docs.python.org/c-api/sequence.html#PySequence_GetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.get-slice* (o i1 i2)

see http://docs.python.org/c-api/sequence.html#PySequence_GetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.in-place-concat (o1 o2)

see http://docs.python.org/c-api/sequence.html#PySequence_InPlaceConcat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.in-place-concat* (o1 o2)

see http://docs.python.org/c-api/sequence.html#PySequence_InPlaceConcat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.in-place-repeat (o count)

see http://docs.python.org/c-api/sequence.html#PySequence_InPlaceRepeat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.in-place-repeat* (o count)

see http://docs.python.org/c-api/sequence.html#PySequence_InPlaceRepeat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.index (o value)

see http://docs.python.org/c-api/sequence.html#PySequence_Index

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.item (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_ITEM

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.item* (o i)

see http://docs.python.org/c-api/sequence.html#PySequence_ITEM

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.length (o)

see http://docs.python.org/c-api/sequence.html#PySequence_Length

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.list (o)

see http://docs.python.org/c-api/sequence.html#PySequence_List

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.list* (o)

see http://docs.python.org/c-api/sequence.html#PySequence_List

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.repeat (o count)

see http://docs.python.org/c-api/sequence.html#PySequence_Repeat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.repeat* (o count)

see http://docs.python.org/c-api/sequence.html#PySequence_Repeat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.set-item (o i v)

see http://docs.python.org/c-api/sequence.html#PySequence_SetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.set-slice (o i1 i2 v)

see http://docs.python.org/c-api/sequence.html#PySequence_SetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.size (o)

see http://docs.python.org/c-api/sequence.html#PySequence_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.tuple (o)

see http://docs.python.org/c-api/sequence.html#PySequence_Tuple

Package

python.cffi.

Source

ffi-interface.lisp.

Function: sequence.tuple* (o)

see http://docs.python.org/c-api/sequence.html#PySequence_Tuple

Package

python.cffi.

Source

ffi-interface.lisp.

Function: shutdown-python ()
Package

burgled-batteries.

Source

api.lisp.

Function: signal.set-wakeup-fd (fd)

see http://docs.python.org/c-api/exceptions.html#PySignal_SetWakeupFd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: startup-python ()
Package

burgled-batteries.

Source

api.lisp.

Function: string.as-string (string)

see http://docs.python.org/c-api/string.html#PyString_AsString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.format (format args)

see http://docs.python.org/c-api/string.html#PyString_Format

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.format* (format args)

see http://docs.python.org/c-api/string.html#PyString_Format

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.from-string (v)

see http://docs.python.org/c-api/string.html#PyString_FromString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.from-string* (v)

see http://docs.python.org/c-api/string.html#PyString_FromString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.from-string-and-size (v len)

see http://docs.python.org/c-api/string.html#PyString_FromStringAndSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.from-string-and-size* (v len)

see http://docs.python.org/c-api/string.html#PyString_FromStringAndSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: string.size (string)

see http://docs.python.org/c-api/string.html#PyString_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.clear (tstate)

see http://docs.python.org/c-api/init.html#PyThreadState_Clear

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.delete (tstate)

see http://docs.python.org/c-api/init.html#PyThreadState_Delete

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.get ()

see http://docs.python.org/c-api/init.html#PyThreadState_Get

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.get-dict ()

see http://docs.python.org/c-api/init.html#PyThreadState_GetDict

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.get-dict* ()

see http://docs.python.org/c-api/init.html#PyThreadState_GetDict

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.new (interp)

see http://docs.python.org/c-api/init.html#PyThreadState_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.next (tstate)

see http://docs.python.org/c-api/init.html#PyThreadState_Next

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.set-async-exc (id exc)

see http://docs.python.org/c-api/init.html#PyThreadState_SetAsyncExc

Package

python.cffi.

Source

ffi-interface.lisp.

Function: thread-state.swap (tstate)

see http://docs.python.org/c-api/init.html#PyThreadState_Swap

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.clear-free-list ()

see http://docs.python.org/c-api/tuple.html#PyTuple_ClearFreeList

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.get-item (p pos)

see http://docs.python.org/c-api/tuple.html#PyTuple_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.get-item* (p pos)

see http://docs.python.org/c-api/tuple.html#PyTuple_GetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.get-slice (p low high)

see http://docs.python.org/c-api/tuple.html#PyTuple_GetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.get-slice* (p low high)

see http://docs.python.org/c-api/tuple.html#PyTuple_GetSlice

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.new (len)

see http://docs.python.org/c-api/tuple.html#PyTuple_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.new* (len)

see http://docs.python.org/c-api/tuple.html#PyTuple_New

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.resize (p newsize)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.set-item (p pos o)

see http://docs.python.org/c-api/tuple.html#PyTuple_SetItem

Package

python.cffi.

Source

ffi-interface.lisp.

Function: tuple.size (p)

see http://docs.python.org/c-api/tuple.html#PyTuple_Size

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.clear-cache ()

see http://docs.python.org/c-api/type.html#PyType_ClearCache

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.generic-alloc (type nitems)

see http://docs.python.org/c-api/type.html#PyType_GenericAlloc

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.generic-alloc* (type nitems)

see http://docs.python.org/c-api/type.html#PyType_GenericAlloc

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.generic-new (type args kwds)

see http://docs.python.org/c-api/type.html#PyType_GenericNew

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.generic-new* (type args kwds)

see http://docs.python.org/c-api/type.html#PyType_GenericNew

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.has-feature (o feature)

see http://docs.python.org/c-api/type.html#PyType_HasFeature

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.is-gc (o)

see http://docs.python.org/c-api/type.html#PyType_IS_GC

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.is-subtype (a b)

see http://docs.python.org/c-api/type.html#PyType_IsSubtype

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.modified (type)

see http://docs.python.org/c-api/type.html#PyType_Modified

Package

python.cffi.

Source

ffi-interface.lisp.

Function: type.ready (type)

see http://docs.python.org/c-api/type.html#PyType_Ready

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.create (encoding object length start end reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_Create

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.create* (encoding object length start end reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_Create

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-encoding (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_GetEncoding

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-encoding* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_GetEncoding

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-end (exc)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-object (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_GetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-object* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_GetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-reason (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_GetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-reason* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_GetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.get-start (exc)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.set-end (exc end)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_SetEnd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.set-reason (exc reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_SetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-decode-error.set-start (exc start)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeDecodeError_SetStart

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.create (encoding object length start end reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_Create

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.create* (encoding object length start end reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_Create

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-encoding (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_GetEncoding

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-encoding* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_GetEncoding

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-end (exc)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-object (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_GetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-object* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_GetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-reason (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_GetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-reason* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_GetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.get-start (exc)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.set-end (exc end)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_SetEnd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.set-reason (exc reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_SetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-encode-error.set-start (exc start)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeEncodeError_SetStart

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.create (object length start end reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_Create

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.create* (object length start end reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_Create

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.get-end (exc)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.get-object (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_GetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.get-object* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_GetObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.get-reason (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_GetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.get-reason* (exc)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_GetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.get-start (exc)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.set-end (exc end)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_SetEnd

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.set-reason (exc reason)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_SetReason

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode-translate-error.set-start (exc start)

see http://docs.python.org/c-api/exceptions.html#PyUnicodeTranslateError_SetStart

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-ascii-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsASCIIString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-ascii-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsASCIIString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-charmap-string (unicode mapping)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsCharmapString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-charmap-string* (unicode mapping)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsCharmapString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-encoded-string (unicode encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsEncodedString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-encoded-string* (unicode encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsEncodedString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-latin1-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsLatin1String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-latin1-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsLatin1String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-mbcs-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicode_AsMBCSString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-raw-unicode-escape-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsRawUnicodeEscapeString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-raw-unicode-escape-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsRawUnicodeEscapeString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-unicode (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUnicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-unicode-escape-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUnicodeEscapeString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-unicode-escape-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUnicodeEscapeString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-utf16-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUTF16String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-utf16-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUTF16String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-utf32-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUTF32String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-utf32-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUTF32String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-utf8-string (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUTF8String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.as-utf8-string* (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_AsUTF8String

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.clear-free-list ()

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_ClearFreelist

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.compare (left right)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Compare

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.concat (left right)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Concat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.concat* (left right)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Concat

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.contains (container element)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Contains

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.count (str substr start end)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Count

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode (s size encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Decode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode* (s size encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Decode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-ascii (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeASCII

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-ascii* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeASCII

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-charmap (s size mapping errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeCharmap

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-charmap* (s size mapping errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeCharmap

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-latin1 (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeLatin1

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-latin1* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeLatin1

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-mbcs (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_DecodeMBCS

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-mbcs* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_DecodeMBCS

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-raw-unicode-escape (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeRawUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-raw-unicode-escape* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeRawUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-unicode-escape (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-unicode-escape* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-utf7 (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_DecodeUTF7

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-utf7* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_DecodeUTF7

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-utf8 (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeUTF8

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-utf8* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_DecodeUTF8

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-utf8-stateful (s size errors)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.decode-utf8-stateful* (s size errors)
Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode (s size encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Encode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode* (s size encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Encode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-ascii (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeASCII

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-ascii* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeASCII

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-charmap (s size mapping errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeCharmap

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-charmap* (s size mapping errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeCharmap

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-latin1 (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeLatin1

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-latin1* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeLatin1

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-mbcs (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_EncodeMBCS

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-mbcs* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_EncodeMBCS

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-raw-unicode-escape (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeRawUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-raw-unicode-escape* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeRawUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-unicode-escape (s size)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-unicode-escape* (s size)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUnicodeEscape

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf16 (s size errors byteorder)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUTF16

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf16* (s size errors byteorder)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUTF16

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf32 (s size errors byteorder)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUTF32

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf32* (s size errors byteorder)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUTF32

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf7 (s size base64seto base64whitespace errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_EncodeUTF7

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf7* (s size base64seto base64whitespace errors)

see http://docs.python.org/c-api/unicode.html#PyUnicode_EncodeUTF7

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf8 (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUTF8

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.encode-utf8* (s size errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_EncodeUTF8

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.find (str substr start end direction)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Find

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.format (format args)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Format

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.format* (format args)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Format

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-encoded-object (obj encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromEncodedObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-encoded-object* (obj encoding errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromEncodedObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-object (obj)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-object* (obj)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromObject

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-string (u)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-string* (u)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-string-and-size (u size)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromStringAndSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-string-and-size* (u size)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromStringAndSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-unicode (u size)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromUnicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.from-unicode* (u size)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_FromUnicode

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.get-size (unicode)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_GetSize

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.join (separator seq)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Join

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.join* (separator seq)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Join

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.replace (str substr replstr maxcount)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Replace

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.replace* (str substr replstr maxcount)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Replace

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.rich-compare (left right op)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_RichCompare

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.rich-compare* (left right op)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_RichCompare

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.split (s sep maxsplit)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Split

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.split* (s sep maxsplit)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Split

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.splitlines (s keepend)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Splitlines

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.splitlines* (s keepend)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Splitlines

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.tailmatch (str substr start end direction)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Tailmatch

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.translate (str table errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Translate

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.translate* (str table errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_Translate

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.translate-charmap (s size table errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_TranslateCharmap

Package

python.cffi.

Source

ffi-interface.lisp.

Function: unicode.translate-charmap* (s size table errors)

see http://docs.python.org/c-api/unicode.html#PyUnicodeUCS4_TranslateCharmap

Package

python.cffi.

Source

ffi-interface.lisp.


5.1.4 Generic functions

Generic Function: run* (thing)

Runs some code. When given a string, tries to interpret that string as if it were Python code. Given a pathname, runs that file. Returns a pointer.

Package

burgled-batteries.

Source

api.lisp.

Methods
Method: run* ((file pathname))
Method: run* ((code string))
Method: run* :before (thing)

5.1.5 Standalone methods

Method: expand-from-foreign (value (type can-error))
Package

cffi.

Source

ffi-definers.lisp.

Method: expand-to-foreign-dyn (value var body (type place))
Package

cffi.

Source

cffi-output-args.lisp.

Method: expand-to-foreign-dyn (value var body (type output-arg))
Package

cffi.

Source

cffi-output-args.lisp.

Method: free-translated-object ((value wrapped) type param)
Package

cffi.

Source

ffi-definers.lisp.

Method: free-translated-object (value (type octet-array) length)
Package

cffi.

Source

ffi-definers.lisp.

Method: free-translated-object (value (type foreign-python-type) decrefp)
Package

cffi.

Source

ffi-definers.lisp.

Method: free-translated-object ((value fenced) type param)
Package

cffi.

Source

ffi-definers.lisp.

Method: print-object ((condition base-exception) stream)
Source

ffi-conditions.lisp.

Method: print-object ((condition environment-error) stream)
Source

ffi-conditions.lisp.

Method: print-object ((o can-error) s)
Source

ffi-definers.lisp.

Method: print-object ((o foreign-python-type) s)
Source

ffi-definers.lisp.

Method: translate-from-foreign (value (type foreign-python-tuple-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-int-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-function-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign ((value wrapped) type)
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-from-foreign (value (type foreign-python-string-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-long-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-unicode-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-method-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-module-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-byte-array-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-object-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-dict-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-type-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type octet-array))
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-from-foreign (value (type foreign-python-list-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-complex-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign :around (value (type foreign-python-type))
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-from-foreign (value (type foreign-python-float-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-bool-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign (value (type foreign-python-code-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-from-foreign ((value fenced) type)
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-to-foreign (value (type foreign-python-tuple-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-int-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-function-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign ((value wrapped) type)
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-to-foreign (value (type foreign-python-string-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-long-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-unicode-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-method-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-module-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-byte-array-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-object-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-dict-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-type-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type octet-array))
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-to-foreign (value (type foreign-python-list-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-complex-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign :around (value (type foreign-python-type))
Package

cffi.

Source

ffi-definers.lisp.

Method: translate-to-foreign (value (type foreign-python-float-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-bool-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign (value (type foreign-python-code-type))
Package

cffi.

Source

ffi-interface.lisp.

Method: translate-to-foreign ((value fenced) type)
Package

cffi.

Source

ffi-definers.lisp.


5.1.6 Conditions

Condition: arithmetic-error

Base class for arithmetic errors.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct subclasses
Condition: assertion-error

Assertion failed.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: attribute-error

Attribute not found.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: base-exception

Common base class for all exceptions

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses

python-condition.

Direct subclasses
Direct methods

print-object.

Direct slots
Slot: args
Initargs

:args

Condition: environment-error

Base class for I/O related errors.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct subclasses
Direct methods

print-object.

Direct slots
Slot: errno
Initargs

:errno

Slot: strerror
Initargs

:strerror

Slot: filename
Initargs

:filename

Condition: eoferror

Read beyond end of file.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: exception

Common base class for all non-exit exceptions.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct subclasses

standard-error.

Condition: floating-point-error

Floating point operation failed.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: import-error

Import can’t find module, or can’t find name in module.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: index-error

Sequence index out of range.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: ioerror

I/O operation failed.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: key-error

Mapping key not found.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: keyboard-interrupt

Program interrupted by user.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: lookup-error

Base class for lookup errors.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct subclasses
Condition: memory-error

Out of memory.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: name-error

Name not found globally.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: not-implemented-error

Method or function hasn’t been implemented yet.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: oserror

OS system call failed.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: overflow-error

Result too large to be represented.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: reference-error

Weak ref proxy used after referent went away.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: runtime-error

Unspecified run-time error.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct subclasses

not-implemented-error.

Condition: standard-error

Base class for all standard Python exceptions that do not represent interpreter exiting.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct subclasses
Condition: syntax-error

Invalid syntax.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Direct slots
Slot: filename
Initargs

:filename

Slot: lineno
Initargs

:lineno

Slot: offset
Initargs

:offset

Slot: text
Initargs

:text

Condition: system-error

Internal error in the Python interpreter.

Please report this to the Python maintainer, along with the traceback, the Python version, and the hardware/OS platform and version.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: system-exit

Request to exit from the interpreter.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: type-error

Inappropriate argument type.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: value-error

Inappropriate argument value (of correct type).

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses
Condition: zero-division-error

Second argument to a division or modulo operation was zero.

Package

python.cffi.

Source

ffi-conditions.lisp.

Direct superclasses

5.2 Internals


5.2.1 Constants

Constant: +pcall-all+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-bound-method+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-cfunction+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-fast-function+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-faster-function+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-function+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-generator+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-method+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-other+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-pop+
Package

python.cffi.

Source

ffi-interface.lisp.

Constant: +pcall-type+
Package

python.cffi.

Source

ffi-interface.lisp.


5.2.2 Special variables

Special Variable: *barrier-finalizers*
Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *c-structs*
Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *callback-types*
Package

python.cffi.

Source

ffi-callbacks.lisp.

Special Variable: *cpython-include-dir*
Package

python.cffi.

Source

grovel-include-dir.lisp.

Special Variable: *delayed-cstruct-code*
Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *exception-map*

A mapping from Python exceptions to Lisp conditions.

Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *python-docs-page*
Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *type-map*

An association list of lisp names for foreign Python types (symbols) to type parsers.

Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *unknown-translation-policy*

In the event of a Python type for which no translation is known, we offer several options for how to translate it which a user may switch between at any given time. This variable controls which method is active, and must be one of ’(:discard :barrier :finalize :pass-through).

You should probably not set this variable directly; see instead the WITH-UNKNOWN-TRANSLATION-POLICY macro.

Package

python.cffi.

Source

ffi-definers.lisp.

Special Variable: *values-accumulator*
Package

python.cffi.

Source

cffi-output-args.lisp.


5.2.3 Symbol macros

Symbol Macro: main-module*
Package

burgled-batteries.

Source

api.lisp.

Symbol Macro: main-module-dict*
Package

burgled-batteries.

Source

api.lisp.


5.2.4 Macros

Macro: defcstruct* (name-and-options (&optional parent) &body fields)

Define the layout of a foreign structure.

Package

python.cffi.

Source

ffi-definers.lisp.

Macro: define-trace-function (name (object frame what arg) &body body)
Package

python.cffi.

Source

ffi-interface.lisp.

Macro: defpycallback (name return-type (&rest args) &body body)

Defines a Lisp function which is callable from Python.

RETURN-TYPE should be either :pointer, in which case type translation will not occur on arguments and you will be working with raw pointers, or a Python type (object, bool, etc.) in which case type translation of arguments will occur.

Package

python.cffi.

Source

ffi-callbacks.lisp.

Macro: defpyexception (python-name (&rest lisp-superclasses) (&rest slots) &body options)
Package

python.cffi.

Source

ffi-definers.lisp.

Macro: defpyfun (name return-type args &body options)

This is, in essence, a wrapper around CFFI::DEFCFUN.

NAME must be suitable for passing to #’PARSE-PYTHON-NAME. See the docstring of that function for more details on the meaning of NAME.

If RETURN-TYPE is a known Python type (that is, it was defined using DEFPYTYPE or registered via #’REGISTER-PYTHON-TYPE), then this also produces a second function by the same name but with an asterisk appended (think LET vs. LET*) which does /not/ do type translation but instead simply returns a pointer to the PyObject. (Any applicable error checking is still performed, however.) The non-translating versions are particularly useful in the cases where you either A) specifically want a pointer (e.g., because you’re calling PyDict_New and want a dictionary to populate rather than an empty hashtable) or B) are getting a large structure back and would prefer not to translate the entire thing for the one or two values you’re actually interested in.

OPTIONS is a list of any, none, or all, of the following forms: (:implementation &body) :: &body is an implicit progn which should be used in place of a foreign-funcall when the foreign function does not exist. It receives arguments as specified by the arglist. It is important to note that the provided implementation deals with #’TRANSLATE-TO-FOREIGNed types, and must produce a value suitable for #’TRANSLATE-FROM-FOREIGN. To put another way, :implementation defines a Lisp version of the C code it replaces. This is useful for usefully defining functions which are really C macros, as well as functions which don’t exist in later/earlier versions of Python. (:requires forms) :: forms should explain under what conditions this function is available. It is used mainly for documentary purposes. (:documentation docstring) :: The docstring which should be used for this function, if any.
(:page uri) :: A string representing the page on docs.python.org which contains Python’s documentation for this function. Defaults to the value set
by (in-python-docs page).
(:if-not-exist &body) :: &body is code which should be executed if the specified C function does not exist, an alternate :implementation was not specified, and no requirements are known (:requires). It defaults to producing an error. This is probably most useful as a debugging tool to catch functions which are specified in Python’s documentation but not exported by the Python library (generally, meaning the "function" is really a preprocessor macro).

Package

python.cffi.

Source

ffi-definers.lisp.

Macro: defpyfun* (lisp-name list-of-pyfun-args &body options)

Takes multiple arguments to defpyfun, and expands into a defpyfun for the first C function which actually exists. This exists mainly in support of the PyUnicode functions, which are exported as UCS4 or UCS2 variants depending on platform and compiler options.

Package

python.cffi.

Source

ffi-definers.lisp.

Macro: defpytype (c-name-and-opts &body options)

Defines a Python Object type, such as PyObject. This entails creating a variable pointing to the "PyFoo_Type" type object, the "PyFoo_Check" and "PyFoo_CheckExact" functions, as well as appropriate CFFI types for the object (FOO, FOO!, and FOO?) for use as the types in DEFPYFUN forms.

OPTIONS may consist of any of the following forms:
(:type lisp-type) :: LISP-TYPE is a Lisp type-specifier, which should cause (typep v lisp-type) to return true in the event the given lisp value V should be converted into the python type being defined. If unspecified, automagical conversions into PyObjects will not occur (though conversions to the more-specific type currently being specified still will).
(:to (value type) &body) :: Defines a function which translates a Lisp object into a Python object. If unspecified, defaults to performing no translation. (:from (value type) &body) :: Defines a function which translates a Python object into a Lisp object. If unspecified, defaults to performing no translation (returning a :pointer).
(:superclass super) :: In the future, this is expected to be the means of specifying that this particular Python type has a Python superclass of SUPER, to handle the FIXME mentioned in the definition of PyObject. It currently does nothing.

The :to and :from functions are used both when translating the given type specifically (that is, when the specific type is mentioned in a DEFPYFUN form) as well as when translating a non-specific PyObject (assuming :type is also specified).

Package

python.cffi.

Source

ffi-definers.lisp.

Macro: defpyvar (c-name &optional lisp-name cffi-type)

Produces a Lisp variable by the name of LISP-NAME whose value is a pointer to the foreign variable C-NAME. Differs from DEFCVAR in that, if C-NAME begins with an ampersand (#\&) it does not try to dereference the pointer, and so works for the inline objects Python uses. That is, it is the C equivalent of "lisp_var = &foreign_var". Otherwise, just expands into a DEFCVAR.

Because this is intended for use in our internal machinations, this returns pointers by default. However, you can override that by specifying CFFI-TYPE.

Package

python.cffi.

Source

ffi-definers.lisp.

Macro: finalize-cstructs ()
Package

python.cffi.

Source

ffi-definers.lisp.

Macro: in-python-docs (page)
Package

python.cffi.

Source

ffi-definers.lisp.

Macro: with-cpython-pointer ((var-or-vars form) &body body)
Package

burgled-batteries.

Source

api.lisp.

Macro: with-thread-state (&body body)

The Lispy equivalent of surrounding code with Py_BEGIN_ALLOW_THREADS ... Py_END_ALLOW_THREADS.

Package

python.cffi.

Source

ffi-interface.lisp.


5.2.5 Ordinary functions

Function: %byte-array.as-string (bytearray)

see http://docs.python.org/c-api/bytearray.html#PyByteArray_AsString

Package

python.cffi.

Source

ffi-interface.lisp.

Function: %choose-symbol (arg)
Package