Re: [NEW] library/objecthacks.imc

2004-03-10 Thread Jens Rieks
Hi, On Wednesday 10 March 2004 12:54, Leopold Toetsch wrote: > Jens Rieks <[EMAIL PROTECTED]> wrote: > > ... It is usefull for constructor calling, to make sure that > > all base classes are initialized in the proper order. > > I've checked in a small change to objects. __init get's now called on

Re: [NEW] library/objecthacks.imc

2004-03-10 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > ... It is usefull for constructor calling, to make sure that > all base classes are initialized in the proper order. I've checked in a small change to objects. __init get's now called on all parent classes in reverse search order. Then __init on the class i

Re: [NEW] library/objecthacks.imc

2004-03-10 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > Hi, > On Tuesday 09 March 2004 21:17, Leopold Toetsch wrote: >> >> what about: >> >>(retvals) = obj.methodname(...) > Yes that would be the best solution. I had a cursory look at the IMCC > sources, but found no obvious way to implement it. I'll have a

Re: [NEW] library/objecthacks.imc

2004-03-10 Thread Jens Rieks
Hi, On Tuesday 09 March 2004 21:17, Leopold Toetsch wrote: > Jens Rieks <[EMAIL PROTECTED]> wrote: > > The attached file has some helper functions to make object usage > > easier. It is used by the new object orientated Data::Dumper > > implementation as well as my EBNF parser generator. I submi

[NEW] library/objecthacks.imc

2004-03-09 Thread Jens Rieks
Hi all, The attached file has some helper functions to make object usage easier. It is used by the new object orientated Data::Dumper implementation as well as my EBNF parser generator. I submit it as a standalone library to reduce code duplication. It might also be useful for other developers t