The co_filename attribute is only ever the relative filename, where as the __file__ value of the frame globals is absolute, which lets the ignore() stuff do its thing.
Logged In: YES user_id=31446 Hi Skip, This patch only addresses --ignore-dir working, I didn't initally look at the other uses. Now that I have, they're all passed to linecache, which itself looks in $prefix for a matching filename, so it only needs the relative filename to be passed. My patch specifically just targets the filename param passed to ignore.names() so that it can actually work. cheers,
Checked in on SVN head as rev 53735. Checked in on 2.4 branch as rev 53736. Will also backport to 2.5 once I figure out why svn thinks I have a conflict in Misc/NEWS.