Re: inspect feature

2008-10-14 Thread Aaron "Castironpi" Brady
On Oct 14, 4:16 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Oct 14, 5:00 pm, "Aaron \"Castironpi\" Brady" > > > > <[EMAIL PROTECTED]> wrote: (snip > > Here's some more info. > > > Ver 2.5: > > > >>> f( c= 0, c= 0 ) > > > Traceback (most recent call last): > >   File "", line 1, in > > TypeEr

Re: inspect feature

2008-10-14 Thread George Sakkis
On Oct 14, 5:00 pm, "Aaron \"Castironpi\" Brady" <[EMAIL PROTECTED]> wrote: > On Oct 14, 2:32 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > > > > > On Oct 14, 2:35 pm, "Aaron \"Castironpi\" Brady" > > > <[EMAIL PROTECTED]> wrote: > > > On Oct 14, 9:42 am, George Sakkis <[EMAIL PROTECTED]> wrote: >

Re: inspect feature

2008-10-14 Thread Aaron "Castironpi" Brady
On Oct 14, 2:32 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Oct 14, 2:35 pm, "Aaron \"Castironpi\" Brady" > > > > <[EMAIL PROTECTED]> wrote: > > On Oct 14, 9:42 am, George Sakkis <[EMAIL PROTECTED]> wrote: > > > > On Oct 14, 3:06 am, "Gabriel Genellina" <[EMAIL PROTECTED]> > > > wrote: > > >

Re: inspect feature

2008-10-14 Thread George Sakkis
On Oct 14, 2:35 pm, "Aaron \"Castironpi\" Brady" <[EMAIL PROTECTED]> wrote: > On Oct 14, 9:42 am, George Sakkis <[EMAIL PROTECTED]> wrote: > > > > > On Oct 14, 3:06 am, "Gabriel Genellina" <[EMAIL PROTECTED]> > > wrote: > > > > En Fri, 10 Oct 2008 14:18:53 -0300, Aaron "Castironpi" Brady > > > <[EM

Re: inspect feature

2008-10-14 Thread Aaron "Castironpi" Brady
On Oct 14, 9:42 am, George Sakkis <[EMAIL PROTECTED]> wrote: > On Oct 14, 3:06 am, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > > > > En Fri, 10 Oct 2008 14:18:53 -0300, Aaron "Castironpi" Brady > > <[EMAIL PROTECTED]> escribió: > > > > On Oct 10, 3:36 am, Bruno Desthuilliers > > [EMAIL PR

Re: inspect feature

2008-10-14 Thread George Sakkis
On Oct 14, 3:06 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 10 Oct 2008 14:18:53 -0300, Aaron "Castironpi" Brady > <[EMAIL PROTECTED]> escribió: > > > > > On Oct 10, 3:36 am, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote: > >> I don't get what you're after ??? The decorator has f

Re: inspect feature

2008-10-14 Thread Gabriel Genellina
En Fri, 10 Oct 2008 14:18:53 -0300, Aaron "Castironpi" Brady <[EMAIL PROTECTED]> escribió: On Oct 10, 3:36 am, Bruno Desthuilliers wrote: I don't get what you're after ??? The decorator has full access to both the actual params *and* the function's signature (via inspect.getargspec). So your

Re: inspect feature

2008-10-10 Thread Aaron "Castironpi" Brady
On Oct 10, 3:36 am, Bruno Desthuilliers wrote: > Aaron "Castironpi" Brady a écrit : > > > > > On Oct 9, 3:48 am, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote: > >> Aaron "Castironpi" Brady a écrit : > > >>> Hello, > >>> The 'inspect' module has this method: > >>> inspect.getargvalues(frame) > >

Re: inspect feature

2008-10-10 Thread Bruno Desthuilliers
Aaron "Castironpi" Brady a écrit : On Oct 9, 3:48 am, Bruno Desthuilliers wrote: Aaron "Castironpi" Brady a écrit : Hello, The 'inspect' module has this method: inspect.getargvalues(frame) It takes a frame and returns the parameters used to call it, including the locals as defined in the fr

Re: inspect feature

2008-10-09 Thread Aaron "Castironpi" Brady
On Oct 9, 3:48 am, Bruno Desthuilliers wrote: > Aaron "Castironpi" Brady a écrit : > > > > > Hello, > > > The 'inspect' module has this method: > > > inspect.getargvalues(frame) > > > It takes a frame and returns the parameters used to call it, including > > the locals as defined in the frame, as

Re: inspect feature

2008-10-09 Thread Bruno Desthuilliers
Aaron "Castironpi" Brady a écrit : Hello, The 'inspect' module has this method: inspect.getargvalues(frame) It takes a frame and returns the parameters used to call it, including the locals as defined in the frame, as shown. def f( a, b, d= None, *c, **e ): ... import inspect ... re

inspect feature

2008-10-08 Thread Aaron "Castironpi" Brady
Hello, The 'inspect' module has this method: inspect.getargvalues(frame) It takes a frame and returns the parameters used to call it, including the locals as defined in the frame, as shown. >>> def f( a, b, d= None, *c, **e ): ... import inspect ... return inspect.getargvalues( inspect.