R. David Murray added the comment:
I think that that patch that Victor committed is incorrect, and that Thomas's patch is closer to correct. People *do* use linecache with files other than python source files, and as far as I can see we are not going to stop supporting that. Given the original docs the intent clearly was that the interface be general, not python-file-specific.
---------- status: closed -> open
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue11726 _______________________________________