Re: Who is your daddy: Can I find what object instantiates another object?

2009-04-13 Thread Aaron Brady
On Apr 13, 6:50 pm, Steven D'Aprano wrote: > On Mon, 13 Apr 2009 19:12:21 +0200, Diez B. Roggisch wrote: > >> Can the Parser object know who its Daddy is? > > > Yes, by Daddy telling him so. That's how nature does it, and how you > > should do it. Or do you think that because DNA-tests are availab

Re: Who is your daddy: Can I find what object instantiates another object?

2009-04-13 Thread Steven D'Aprano
On Mon, 13 Apr 2009 19:12:21 +0200, Diez B. Roggisch wrote: >> Can the Parser object know who its Daddy is? > > Yes, by Daddy telling him so. That's how nature does it, and how you > should do it. Or do you think that because DNA-tests are available to us > we should just put all kids into a big

Re: Who is your daddy: Can I find what object instantiates another object?

2009-04-13 Thread Aahz
In article <74ha3lf10bj9...@mid.uni-berlin.de>, Diez B. Roggisch wrote: >hubritic schrieb: >> >> Can the Parser object know who its Daddy is? > >Yes, by Daddy telling him so. That's how nature does it, and how you >should do it. Or do you think that because DNA-tests are available to us >we sho

Re: Who is your daddy: Can I find what object instantiates another object?

2009-04-13 Thread Diez B. Roggisch
hubritic schrieb: I want to build a parser object that handles two different log file formats. I have an object that handles Connection logs and an object for Filter logs. Each will instantiate a Parser object, passing in the path to individual log files. There are a number of ways I could fig

Re: Who is your daddy: Can I find what object instantiates another object?

2009-04-13 Thread Jean-Paul Calderone
On Mon, 13 Apr 2009 09:53:04 -0700 (PDT), hubritic wrote: I want to build a parser object that handles two different log file formats. I have an object that handles Connection logs and an object for Filter logs. Each will instantiate a Parser object, passing in the path to individual log file

Who is your daddy: Can I find what object instantiates another object?

2009-04-13 Thread hubritic
I want to build a parser object that handles two different log file formats. I have an object that handles Connection logs and an object for Filter logs. Each will instantiate a Parser object, passing in the path to individual log files. There are a number of ways I could figure out whether I am