Unbound methods and functions

Ben ben at transversal.com
Thu Nov 27 08:54:42 EST 2003


Ben wrote:

> Hi,
> 
> I was recently writing a python interpreter (in python), partly to teach
> myself more about the python object system, and partly to learn more about
> how programming languages work in general.
> ....

Arrgh, forgot to ask the question that was the entire point of the post

Is there any real difference between an unbound method, and a function,
apart from the scoping differences. I.e would it make any difference in the
get descriptor for a function, when called on a type, returned the function
instead of an unbound method?

Cheers

Ben
---





More information about the Python-list mailing list