R. David Murray added the comment: Sure, clarifying the docs seems sensible. "Any file" is slightly different from the reality.
---------- nosy: +r.david.murray resolution: rejected -> stage: -> needs patch status: closed -> open title: linecache becomes specific to Python scripts in Python 3 -> clarify that linecache only works on files that can be decoded successfully type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11726> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com