26 Nov
1999
26 Nov
'99
10:37 a.m.
Hello, Forgot the rambling about the 'minus 1' problem. I didn't understand what _v_selfish was for. It is the number or arguments one has to supply to activate the self=currentobject trick So the expression has to be written: self._v_selfish = (fc.co_varnames and fc.co_varnames[0]=='self' and (fc.co_argcount - len(f.func_defaults or ()) - 1)) -- Cordialement, Jephté CLAIN minf7@educ.univ-reunion.fr PS: répondez sur minf7@educ.univ-reunion.fr, et pas sur ava@dde974.equipement.gouv.fr