[Python-3000] symbols?
Kendall Clark
kendall at monkeyfist.com
Mon Apr 10 18:51:30 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 10, 2006, at 12:24 PM, Barry Warsaw wrote:
> On Mon, 2006-04-10 at 12:16 -0400, Kendall Clark wrote:
>
>> I don't know if the Ruby syntax for symbols, :foo, will work in
>> Python (though I think visually it's a good thing), but it would be
>> really nice to have symbols with *some* syntax in Python 3000.
>
> To be fair, I think Ruby stole the idea and syntax from Lisp. It's an
> interesting idea, but I'd like to understand exactly what you mean
> by "a
> Python symbol". Can you give more detail about your idea, perhaps
> as a
> pseudo-PEP?
I was afraid someone was going to ask that... :>
FWIW, I didn't mean to suggest Ruby originated anything about
symbols, just that as a close language cousin, the Ruby syntax for
symbols made good sense to me for Py3K.
But there are also some interesting diffs between Common Lisp,
Scheme, and Ruby re: symbols.
I'll try to send something pseudo-PEPish about this later today,
after I've done a bit more work to get all the facts straight.
Cheers,
Kendall
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEOo0VMWrdIbaAVEURAmD6AKCQXQIerODvuXbFFJ6YJCKgPZW9SACfe978
jfhBiRcXvvjrkVujNgPs0xU=
=QUh8
-----END PGP SIGNATURE-----
More information about the Python-3000
mailing list