Re: A problem with some OO code.

2006-02-05 Thread Terry Hancock
On 4 Feb 2006 09:51:22 -0800 "TPJ" <[EMAIL PROTECTED]> wrote: > 1) In OO vocabulary, class is something like template for > an object. But I think the word "object" has something > different meaning in Python. In general I don't use the > word "object" in the same meaning, that it is used by > Pyth

Re: A problem with some OO code.

2006-02-04 Thread Erik Max Francis
TPJ wrote: > I understand your POV and I really appereciate your reply, but I doubt > that I could simplify my code to make it small *enough* to fit in one > post and not look too long. The pont of the exercise of taking non-working code and trying to cut away parts that aren't part of the probl

Re: A problem with some OO code.

2006-02-04 Thread TPJ
At first I'd like to thank you for such a long answer. > (...) > You need to simplify the code as much as possible, cutting away everything > you can, to the SMALLEST amount of code that still experiences the problem. I understand your POV and I really appereciate your reply, but I doubt that I c

Re: A problem with some OO code.

2006-02-04 Thread TPJ
Thank you VERY much! These other errors are not so serious. I think I'll fix them soon. The most important thing is that now I'm ready to work on that code again. Life is beautiful again! Damn, I knew it is some very stupid mistake. I must learn how to use that pylint, instead of asking people on

Re: A problem with some OO code.

2006-02-04 Thread Steven D'Aprano
On Sat, 04 Feb 2006 04:21:50 -0800, TPJ wrote: > Help me please, because I really don't get it. I think it's some stupid > mistake I make, but I just can't find it. I have been thinking about it > for three days so far and I still haven't found any solution. > > My code can be downloaded from her

Re: A problem with some OO code.

2006-02-04 Thread Diez B. Roggisch
> AttributeError: 'Obj' object has no attribute > '_Object__ls_demanded_links' > -- > > Perhaps I'll explain what's going on there. First, the objects' manager > is created, and then also some objects are created. After doing that, > the object calle

A problem with some OO code.

2006-02-04 Thread TPJ
Help me please, because I really don't get it. I think it's some stupid mistake I make, but I just can't find it. I have been thinking about it for three days so far and I still haven't found any solution. My code can be downloaded from here: http://www.tprimke.net/konto/PyObject-problem.tar.bz2.