On Dec 7, 10:52 am, gst wrote:
> Hi,
>
> I met a situation where I was passing an object created in/with an
> upper level module class to a lower level module class' instance in
> one of its __init__ argument and saving a ref of the upper object in
> that lower level class' new instance.
>
> But i
quoting eclipse page:
"Pydev [...] uses advanced type inference techniques to provide features
such code completion and code analysis"
I don't know exactly what's hidden behind this marketing stuff. Did you
try to document your method with a markup language supported by Eclipse
(if there is an
On 8 déc, 16:20, gst wrote:
> even with the "assert(self is _self)" in the "if _self:" condition in
> the new and/or init methods of the class1 ?
damn : in the init method only of course..
--
http://mail.python.org/mailman/listinfo/python-list
On 8 déc, 16:20, gst wrote:
> On 8 déc, 15:51, Jean-Michel Pichavant wrote:
>
> Hi,
>
> > gst wrote:
> > > nb: so this "hack" is only relevant during dev ; once the project
> > > would be finished the "hack" could be removed (i.e : in class2 init I
> > > would directly do : self.object1 = object1
On 8 déc, 15:51, Jean-Michel Pichavant wrote:
Hi,
> gst wrote:
> > nb: so this "hack" is only relevant during dev ; once the project
> > would be finished the "hack" could be removed (i.e : in class2 init I
> > would directly do : self.object1 = object1)
>
> Expect some bugs then on the 'releas
gst wrote:
greg.
nb: so this "hack" is only relevant during dev ; once the project
would be finished the "hack" could be removed (i.e : in class2 init I
would directly do : self.object1 = object1)
Expect some bugs then on the 'release' version.
I'm not sure I understood everything you menti
On 8 déc, 14:09, Steve Holden wrote:
>
> If you'd told us which IDE you were using we might have offered better
> advice, but you seem to want to keep that a secret ("my IDE" tells us
> nothing).
>
sorry it was totally bottom of my first message :
> note: I'm using Eclipse 3.5.2 with pydev so (I
On 12/8/2010 1:01 PM, gst wrote:
> As I told I try to have some kind of "ultimate" autocompletion, always
> working for this kind of case (I know exactly that a certain member of
> a certain class' instance will always have the same type but my IDE
> doesn't seem to guess/know it.. ; I guess the be
On 8 déc, 11:45, Steven D'Aprano wrote:
> On Tue, 07 Dec 2010 07:52:06 -0800, gst wrote:
> > Hi,
>
> > But in my IDE I want the completion to also work from within the lower
> > level module when it's refering to the object passed from the upper
> > level:
>
> "The completion"? What do you mean?
On Tue, 07 Dec 2010 07:52:06 -0800, gst wrote:
> Hi,
>
> I met a situation where I was passing an object created in/with an upper
> level module class to a lower level module class' instance in one of its
> __init__ argument and saving a ref of the upper object in that lower
> level class' new in
Hi,
I met a situation where I was passing an object created in/with an
upper level module class to a lower level module class' instance in
one of its __init__ argument and saving a ref of the upper object in
that lower level class' new instance.
But in my IDE I want the completion to also work fr
11 matches
Mail list logo