[Python-3000] pep 3124 plans (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 21 11:56:10 CEST 2007
- Previous message: [Python-3000] pep 3124 plans
- Next message: [Python-3000] pep 3124 plans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Talin wrote:
Overloading a class method requires special treatment of the 'self' parameter because there's an implicit constraint on what types of objects can be passed as 'self'
Hang on a minute. Is it really necessary for the GF machinery to concern itself with this? By the time you get to the (possibly overloaded) method object, dispatching on 'self' has already been done. So the GF machinery can just ignore 'self' and dispatch on the rest of the arguments -- can't it?
-- Greg
- Previous message: [Python-3000] pep 3124 plans
- Next message: [Python-3000] pep 3124 plans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]