[issue6858] This is a python file, apply syntax highlighting

Tal Einat report at bugs.python.org
Mon Aug 2 09:20:55 CEST 2010


Tal Einat <taleinat at gmail.com> added the comment:

I think we are in agreement :)

Regarding the warning message, I was referring only to the case that the syntax highlighter fails completely and raises an exception. I'm not even sure if that can happen, but in case it does an informative message would be better than just not highlighting, and much better than IDLE dying. I'm bringing this up in this context because IMO if we allow highlighting of arbitrary files, we should at least ensure that this doesn't crash IDLE if the highlighting does fail.

----------

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


More information about the Python-bugs-list mailing list