[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

David D. Riddle report at bugs.python.org
Fri May 1 22:37:01 CEST 2015


David D. Riddle added the comment:

I have made the changes you suggested. Please look at lines 87-97. I am not certain if that is correct behavior. I was surprised that a SyntaxError is thrown in addition to the UnicodeDecodeError when linecache.getlines takes a file with bad unicode. Please tell me if this or other parts of the patch need work.

----------
Added file: http://bugs.python.org/file39262/new.mywork.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24054>
_______________________________________


More information about the Python-bugs-list mailing list