Re: inspect.findsource problem with llinecache

2008-11-16 Thread Rafe
On Nov 15, 1:29 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 12 Nov 2008 05:22:55 -0200,Rafe<[EMAIL PROTECTED]> escribió: > > > I think I have discovered two bugs with the inspect module and I would > > like to know if anyone can spot any traps in my workaround. > > They look like r

Re: inspect.findsource problem with llinecache

2008-11-14 Thread Gabriel Genellina
En Wed, 12 Nov 2008 05:22:55 -0200, Rafe <[EMAIL PROTECTED]> escribió: I think I have discovered two bugs with the inspect module and I would like to know if anyone can spot any traps in my workaround. They look like real bugs - please report them at http://bugs.python.org else this will be

Re: inspect.findsource problem with llinecache

2008-11-12 Thread Rafe
On Nov 12, 2:22 pm, Rafe <[EMAIL PROTECTED]> wrote: > Hi, > > I think I have discovered two bugs with the inspect module and I would > like to know if anyone can spot any traps in my workaround. > > I needed a function which takes a function or method and returns the > code inside it (it also adjus

inspect.findsource problem with llinecache

2008-11-11 Thread Rafe
Hi, I think I have discovered two bugs with the inspect module and I would like to know if anyone can spot any traps in my workaround. I needed a function which takes a function or method and returns the code inside it (it also adjusts the indent because I have to paste the to a text string witho