Liking cljdoc? Tell your friends :D

libpython-clj.python.interpreter


*current-thread-interpreter*clj


*interpreters*clj


*main-interpreter*clj


*program-name*clj


acquire-gil!clj

(acquire-gil! interpreter)

Non-reentrant pathway to acquire gil. It must not be held by this thread.

Non-reentrant pathway to acquire gil.  It must not be held by this thread.
raw docstring

add-interpreter-handle!clj

(add-interpreter-handle! interpreter)

check-error-logclj

(check-error-log)

check-error-strclj

(check-error-str)

Function assumes python stdout and stderr have been redirected

Function assumes python stdout and stderr have been redirected
raw docstring

check-error-throwclj

(check-error-throw)

conj-forever!clj

(conj-forever! items)

ensure-bound-interpreterclj

(ensure-bound-interpreter)

ensure-interpreterclj

(ensure-interpreter)

finalize!clj

(finalize!)

find-jvm-bridge-entryclj

(find-jvm-bridge-entry handle interpreter)

get-jvm-bridgeclj

(get-jvm-bridge handle interpreter)

get-object-handleclj

(get-object-handle obj)

handle->interpreterclj

(handle->interpreter interpreter-handle)

handle-or-interpreter->interpreterclj

(handle-or-interpreter->interpreter hdl-or-interp)

initialize!clj

(initialize! & [program-name])

py-type-keywordclj

(py-type-keyword typeobj)

Get a keyword that corresponds to the current type. Uses global type symbol table. Add the type to the symbol table if it does not exist already.

Get a keyword that corresponds to the current type.  Uses global type symbol table.
Add the type to the symbol table if it does not exist already.
raw docstring

register-bridge!clj

(register-bridge! bridge bridge-pyobject)

release-gil!clj

(release-gil! interpreter)

non-reentrant pathway to release the gil. It must not be held by this thread.

non-reentrant pathway to release the gil.  It must not be held by this thread.
raw docstring

remove-interpreter-handle!clj

(remove-interpreter-handle! interpreter)

swap-interpreters!clj

(swap-interpreters! old-interp new-interp)

The gil must be held by this thread. This swaps out the current interpreter to make a new one current.

The gil must be held by this thread.  This swaps out the current interpreter
to make a new one current.
raw docstring

unregister-bridge!clj

(unregister-bridge! bridge)

with-gilcljmacro

(with-gil & body)

See with-gil-fn

See with-gil-fn
raw docstring

with-gil-fnclj

(with-gil-fn interpreter body-fn)

Run a function with the gil aquired. If you acquired the gil, release it when finished. Note we also lock the interpreter so that even if some code releases thegil, this interpreter cannot be entered.

Run a function with the gil aquired.  If you acquired the gil, release
it when finished.  Note we also lock the interpreter so that even
if some code releases thegil, this interpreter cannot be entered.
raw docstring

with-interpretercljmacro

(with-interpreter interp & body)

See with-gil-fn

See with-gil-fn
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close