Proposal for adding symbols within Python

Kay Schluehr kay.schluehr at gmx.net
Thu Nov 17 14:02:35 CET 2005


Steven Bethard wrote:
> Pierre Barbier de Reuille wrote:
> > Proposal
> > ========
> >
> > First, I think it would be best to have a syntax to represent symbols.
> > Adding some special char before the name is probably a good way to
> > achieve that : $open, $close, ... are $ymbols.
>
> How about using the prefix "symbol." instead of "$"?
>
>  >>> symbol.x

I recognize 3 symbols: a "symbol" a dot and another symbol. So I
wouldn't call this a symbol. Maybe a "diabolon"? Other languages have
symbols, Python has diaboli ;)

Kay




More information about the Python-list mailing list