Re: [Cheetahtemplate-discuss] Python super (off topic; was: Re: [Cheetahtemplate-discuss] #set vs.
Brought to you by:
rtyler,
tavis_rudd
From: Ian B. <ia...@co...> - 2001-09-10 23:32:16
|
Chuck Esterbrook <Chu...@ya...> wrote: > Wait, if you think not renaming __init__ is an advantage when renaming a > class (and I agree), you must be really upset (like I am) that you have to > browse every method of every subclass and rename all the invocations of super: Well, super doesn't jive well with multiple inheritance, but I do prefer it as a name. Maybe doing class X(Y): super=Y Would be sufficient? I'm not sure if that would work... Anyway, what you really want is a refractoring browser. I think there was one for Python, but nobody's worked on it for quite a while. Ian |