inspect.findsource problem with llinecache
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sat Nov 15 01:29:23 EST 2008
En Wed, 12 Nov 2008 05:22:55 -0200, Rafe <rafesacks at gmail.com> 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 forgotten.
> I welcome comments on the bugs or optimization pointers for my code. I
> am still quite new to Python. My primary question though is: will
> linecache.clearcache() cause me any problems?
I don't think so, apart from performance degradation (but good performance
with bad results isn't good at all!)
--
Gabriel Genellina
More information about the Python-list
mailing list