This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Improve file decoding before re.search
Type: enhancement Stage: test needed
Components: IDLE Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: terry.reedy
Priority: normal Keywords:

Created on 2019-02-21 00:17 by terry.reedy, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg336158 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2019-02-21 00:17
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."
History
Date User Action Args
2022-04-11 14:59:11adminsetgithub: 80239
2019-02-21 00:18:44terry.reedylinkissue14929 superseder
2019-02-21 00:17:42terry.reedycreate