[Python-Dev] module extension search order - can it be changed?

Tim Peters tim.one@comcast.net
Sun, 02 Mar 2003 23:14:55 -0500

[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>.