[clpython-devel] Re: CLPython on SBCL
Willem Broekema
metawilm at gmail.com
Thu May 15 22:16:21 UTC 2008
On Wed, May 14, 2008 at 2:42 AM, Leonardo Varuzza <varuzza at gmail.com> wrote:
> Making the instance of python-function in REPL:
>
> (make-instance 'py-function :fname '|cl-user::f|)
>
> I got the same error:
>
>
> ============ SLDB =====================
>
> The value 8595300352 is not of type LIST.
> [Condition of type TYPE-ERROR]
This occured in SBCL 1.0.16 on Mac OS X too.
As a work-around there is now a fall-back to regular Lisp functions,
with the new setting *create-simple-lambdas-for-python-functions* that
is true for SBCL. You lose a little bit by not having first-class
Python functions, like their name and dict, but for most Python code
that doesn't matter.
Now the test suite to run almost fine: just 10 similar tests for
invalid syntax detection fail. SBCL signals a compiler error instead
of passing on the syntax error raised during the macroexpansion.
Should be fixable.
- Willem
More information about the Clpython-devel
mailing list