py4cl2-cffi icon indicating copy to clipboard operation
py4cl2-cffi copied to clipboard

CFFI based alternative to py4cl2

Results 7 py4cl2-cffi issues
Sort by recently updated
recently updated
newest added

The big change with this pull request is to raise a Lisp `pyerror` when a Python error is raised. It does this by wrapping all evaluated code in a try...

As a happy user of py4cl2 who wants to move some large arrays around, I thought I might try porting py4cl2-cffi to Allegro CL 11 / MacOS 14 / Apple...

T never has to be quoted (it evaluates to itself), so get rid of the (quote ... ) in the numpy-installed-p file. Has the advantage or producing t in case...

In readme, the last incomplete todo is `optimizing pythonizers and lispifiers using static-dispatch`. Would you mind explaining what the goal is? Even if we use static dispatch, the type of...

In the following example given in `README`, my lisp hangs for more than 1 minute when I call `(pycall "plt.plot" [elided])`. I could not locate the cause. But I can...

`* (py4cl2-cffi:import-module "pickle" :as "pkl") T * (with-open-file (stream "/mnt/d/Worker/Lisp/test/xx.plk" :element-type '(unsigned-byte 8)) (py4cl2-cffi:pycall "pkl.load" (sb-sys:fd-stream-fd stream))) debugger invoked on a PY4CL2-CFFI:PYERROR in thread #: A python error occurred: file...

For example, on SBCL, after `(defpymodule "matplotlib.pyplot" nil :lisp-package "PLT)`, I'm unable `sb-ext:save-lisp-and-die`: ```lisp * (ql:quickload "py4cl2-cffi") To load "py4cl2-cffi": Load 1 ASDF system: py4cl2-cffi ; Loading "py4cl2-cffi" ("py4cl2-cffi") *...