Unification of Methods and Functions

Greg Ewing greg at cosc.canterbury.ac.nz
Sun May 2 21:11:17 EDT 2004


David MacQuigg wrote:
> The concept of using a
> global variable __self__ is no surprise at all.

Except that __self__ can't be a global variable.
Implementing it that way would be a disaster.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list