Re: Extending Methods Vs Delegates

2006-03-26 Thread Adam DePrince
On Sun, 2006-03-26 at 07:21 -0800, Alex Martelli wrote: > vbgunz <[EMAIL PROTECTED]> wrote: > > > I am sorry I couldn't reply sooner! Alex, Python in a nutshell is my > > bible and I take it virtually everywhere! Seriously, I would highly > > recommend it to anyone with a little to a lot of Python

Re: Extending Methods Vs Delegates

2006-03-26 Thread Alex Martelli
vbgunz <[EMAIL PROTECTED]> wrote: > I am sorry I couldn't reply sooner! Alex, Python in a nutshell is my > bible and I take it virtually everywhere! Seriously, I would highly > recommend it to anyone with a little to a lot of Python experience. > > I apologize for misinterpreting your passage on

Re: Extending Methods Vs Delegates

2006-03-26 Thread Sybren Stuvel
vbgunz enlightened us with: > I hope I've made some sense with this question. I ultimately wish to > know just one real thing. Regardless of the name of the second > example above, what is the purpose of calling a sub class method > from a super class instance? What is the application to such a > d

Re: Extending Methods Vs Delegates

2006-03-26 Thread vbgunz
I am sorry I couldn't reply sooner! Alex, Python in a nutshell is my bible and I take it virtually everywhere! Seriously, I would highly recommend it to anyone with a little to a lot of Python experience. I apologize for misinterpreting your passage on page 80. I will look much closer at your exam

Re: Extending Methods Vs Delegates

2006-03-21 Thread Alex Martelli
vbgunz <[EMAIL PROTECTED]> wrote: ... > Python in a nutshell explains on page 80: Delegating to superclass > method (5.1.6.2 in the ebook) that the first example above (extending I'm not using "delegate" in any specialized technical sense, e.g. (picking from a google search on [define:delegate]

Extending Methods Vs Delegates

2006-03-21 Thread vbgunz
Hello everyone. I own two books. Learning Python and Python in a nutshell. When cross referencing the two books to try and clarify the ideas behind extending methods and delegates, this is where confusion veered it's ugly head :( Learning Python explains on page 324: Class Interface Techniques (2