On Fri, Oct 28, 2011 at 1:36 AM, Duncan Booth <duncan.booth@invalid.invalid> wrote: > Try thinking that one through. Imagine you could set up a dictionary the > way you describe > > A dict with itself as its own __dict__ becomes like a javascript object > where subscripting and attribute access are mostly interchangeable.
Yeah; I never said it was a good thing, just that it's possible. "Everything is permissible" - but not everything is beneficial. "Everything is permissible" - but not everything is constructive. (1 Corinthians 10:23, NIV translation.) ChrisA -- http://mail.python.org/mailman/listinfo/python-list