Re: [pypy-dev] [pypy-svn] r44599 - in pypy/dist/pypy/lang/scheme: . test

Hi Jacub! 2007/6/28, jlg@codespeak.net <jlg@codespeak.net>:
This doesn't make mul_lst and add_lst any more rpython than before. In fact, lambda is fully rpython. The problem with this code is rather that you cannot have local functions in RPython. As I said, don't worry about making your code RPython too much yet. Cheers, Carl Friedrich

On 6/28/07, Carl Friedrich Bolz <cfbolz@gmx.de> wrote:
I that case error messages from pylint: E:142:add_lst.<lambda>: Using unavailable keyword 'lambda' E:145:mul_lst.<lambda>: Using unavailable keyword 'lambda' Causes only confusion.
As I said, don't worry about making your code RPython too much yet.
I will try to refrain. Cheers, Jakub Gustak

Jakub Gustak wrote:
I would not trust pylint too much. being rpython is quite complex issue. and trying to be rpython-compatible in pylint sense makes little sense to me (ie pylint will complain about all the surrounding initialization code, which is perfectly fine and even much more elegant than writing it all by hand). Making scheme more-rpythonish sounds like a nice task for a sprint. Cheers, fijal

On 6/28/07, Carl Friedrich Bolz <cfbolz@gmx.de> wrote:
I that case error messages from pylint: E:142:add_lst.<lambda>: Using unavailable keyword 'lambda' E:145:mul_lst.<lambda>: Using unavailable keyword 'lambda' Causes only confusion.
As I said, don't worry about making your code RPython too much yet.
I will try to refrain. Cheers, Jakub Gustak

Jakub Gustak wrote:
I would not trust pylint too much. being rpython is quite complex issue. and trying to be rpython-compatible in pylint sense makes little sense to me (ie pylint will complain about all the surrounding initialization code, which is perfectly fine and even much more elegant than writing it all by hand). Making scheme more-rpythonish sounds like a nice task for a sprint. Cheers, fijal
participants (4)
-
Antonio Cuni
-
Carl Friedrich Bolz
-
Jakub Gustak
-
Maciek Fijalkowski