[Python-Dev] Getting rid of unbound methods: patch available
Guido van Rossum
gvanrossum at gmail.com
Tue Jan 18 18:17:48 CET 2005
More information about the Python-Dev mailing list
Tue Jan 18 18:17:48 CET 2005
- Previous message: [Python-Dev] Getting rid of unbound methods: patch available
- Next message: [Python-Dev] __str__ vs. __unicode__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Timothy Delaney] > If im_func were set to the class where the function was defined, I could > definitely avoid the second part of the trawling (not sure about the > first yet, since I need to get at the function object). Instead of waiting for unbound methods to change their functionality, just create a metaclass that sticks the attribute you want on the function objects. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Getting rid of unbound methods: patch available
- Next message: [Python-Dev] __str__ vs. __unicode__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list