New submission from Terry J. Reedy <tjre...@udel.edu>:

Spin-off from #14929, which fixed crash.  From msg161754:
"The default extension is .py. The default encoding for .py files is utf-8. I 
think that is the default for what Idle writes. So I think this should be the 
default encoding (explicitly given) at least for .py files.
>From msg161755: (but not sure about this)
"Also, perhaps dialog box could have encodings field. People should be able to 
grep python code for any legal identifier, and this means proper decoding 
according to the encoding they actually use."

----------
assignee: terry.reedy
components: IDLE
messages: 336158
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: Improve file decoding before re.search
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36058>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to