[docs] [issue11726] clarify that linecache only works on files that can be decoded successfully

R. David Murray report at bugs.python.org
Fri Mar 20 16:07:23 CET 2015

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 at bugs.python.org>

More information about the docs mailing list