Python compilers?
Carl Banks
imbosol at aerojockey.com
Wed May 19 17:54:48 EDT 2004
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote in message news:<7xad0581ax.fsf at ruckus.brouhaha.com>...
> Carl Banks <imbosol at aerojockey.invalid> writes:
> > I don't follow you. In what way is Python dynamic that Lisp isn't?
>
>
> >>> class foo:
> ... def bar(self, x):
> ... return x*x
> ...
> >>> a = foo()
> >>> a.bar(3)
> 9
> >>> a.bar = lambda x: x*x*x
> >>> a.bar(3)
> 27
> >>>
Well, come on, of course there's going to be some things here and
there you can do in one and not the other. In wat is Python dynamic
that Lisp isn't to such an extent that it would cripple any attempts
to compile it?
--
CARL BANKS
More information about the Python-list
mailing list