[Zope-Checkins] CVS: Zope27/lib/python/TAL - TALInterpreter.py:1.68.26.2

Guido van Rossum guido@python.org
Mon, 09 Sep 2002 08:30:50 -0400


> > Um, that's not the same.  The word "overriding" implies "in a
> > subclass".  You're talking about patching a method in an *existing*
> > class.  The difference is that the latter affects all users of the
> > class.  For urgent bugfixes I can understand this technique.  But
> > Florent's change suggests that this is a *feature* in this case.  I
> > find that hard to swallow as a general mechanism, and because his
> > checkin comments gave not additional motivation or a pointer to an
> > accepted decision, I question the validity of his checkin, *unless* he
> > meant overriding the method in a subclass (which is goodness).
> 
> Right, it is not overriding in the OO sense.  Sorry,  I am still
> waking up. :-)  But monkey-patching is still generally accepted as
> how I described it.  Maybe FG means something different by it?

Let's hear it from FG.  Was this change discussed anywhere?

--Guido van Rossum (home page: http://www.python.org/~guido/)