Lawrence D'Oliveiro wrote:
Interesting, though, that Python insists on maintaining a distinction between c["x"] and c.x, whereas JavaScript doesn't bother.
And that distinction is a good thing. It means, for example, that dictionaries can have methods without colliding with the key space of the items put into them. -- Greg -- http://mail.python.org/mailman/listinfo/python-list