[Python-Dev] Let's get rid of unbound methods (original) (raw)
Armin Rigo arigo at tunes.org
Wed Jan 5 17:10:45 CET 2005
- Previous message: [Python-Dev] Let's get rid of unbound methods
- Next message: [Python-Dev] Let's get rid of unbound methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Jim,
On Tue, Jan 04, 2005 at 02:44:43PM -0500, Jim Fulton wrote:
>Actually, unbound builtin methods are a different type than bound >builtin methods:
Of course, but conceptually they are similar. You would still encounter the concept if you got an unbound builtin method.
There are no such things as unbound builtin methods:
list.append is list.dict['append'] True
In other words 'list.append' just returns exactly the same object as stored in the list type's dict. Guido's proposal is to make Python methods behave in the same way.
Armin
- Previous message: [Python-Dev] Let's get rid of unbound methods
- Next message: [Python-Dev] Let's get rid of unbound methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]