Proposal for adding symbols within Python
bokr at oz.net
Sat Nov 12 23:41:19 CET 2005
On Sat, 12 Nov 2005 16:52:12 -0500, Mike Meyer <mwm at mired.org> wrote:
>Personally, I think that the LISP quote mechanism would be a better
>addition as a new syntax, as it would handle needs that have caused a
>number of different proposals to be raised. It would require that
>symbol know about the internals of the implementation so that ?name
>and symbol("name") return the same object, and possibly exposing said
>object to the programmer. And this is why the distinction about how
>LISP acts is important.
I wonder if the backquote could be deprecated and repurposed.
It could typographically serve nicely as a lisp quote then. But in python,
how would 'whatever be different from lambda:whatever ?
(where of course whatever could be any expression parenthesized
More information about the Python-list