[issue14929] IDLE crashes on *Edit / Find in files ...* command

Terry J. Reedy report at bugs.python.org
Fri Jul 11 21:34:47 CEST 2014


Terry J. Reedy added the comment:

The 'In files:' field specifies the search directory. I opened #21960 about it being more informative when using Find in Files from the Shell window.

Perfect encoding detection is a fantasy; decent encoding detection by heuristics is slow and not something to do when searchings 100s, 1000s, or more files. What would be reasonable is to check for an encoding cookie. Idle already does this when opening a .py file in the editor. That code should be encapsulated if it is not and reused.

An encoding field for non-python files would be possible, but is a lesser priority to me.

----------

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


More information about the Python-bugs-list mailing list