Michael Chermside <[EMAIL PROTECTED]> writes: > Phillip Eby writes: >> I don't see a problem with requiring '.x' to be used for both >> reading and writing of outer-scope names; it just shouldn't be >> required for an outer-scope name that you don't rebind in the >> current scope. >> >> def counter(num): >> def inc(): >> .num += 1 >> return .num >> return inc > > I am reminded of Tim Peter's declaration in response to a similar > proposal some time ago: > > Syntax should not look like grit on my monitor. > > (Sorry, no reference... but I swear it's word-for-word accurate because > the quote burned itself into my memory.)
I think it was Anthony: http://mail.python.org/pipermail/python-dev/2005-July/054581.html Cheers, mwh -- SCSI is not magic. There are fundamental technical reasons why it is necessary to sacrifice a young goat to your SCSI chain now and then. -- John Woods _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com