3 Mar
2003
3 Mar
'03
4:14 a.m.
[Michael Hudson]
While we're at it, linecache's charming habit of occasionally giving out of date information is Pure Evil. Performance my arse, lying to the user is worse.
We don't use linecache often, and I've never tried comparative timing (with and without it). Offhand it's hard to believe that producing tracebacks benefits from it, or that inspect.py does. For 2.3b1, maybe we could change linecache.updatecache() to leave the cache empty and see whether anyone notices <0.7 wink>.