"Bengt Richter" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Me too. I liked the leading _, but on second thought it is a weird 
> language change
> re names in a special context. Probably not so good.

To repeat: while my '_' proposal could have been for a language change (in 
3.0), it was actually for a convention recognized by a metaclass or, more 
likely, decorator (and implementable now, I think).  *Any* flag would serve 
the purpose, but I picked one that was a single char while being visually 
striking and, as far as I know, rarely used in current practice even though 
quite legal.  A 'self_' prefix would do as well except for being more to 
type.  The prefix could even be an argument to the decorator!

Terry J. Reedy





-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to