Commit e1c50878 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.

Patch by Roger Serwy.
parent c5301ef2
......@@ -81,7 +81,7 @@ class GrepDialog(SearchDialogBase):
hits = 0
for fn in list:
try:
f = open(fn)
f = open(fn, errors='replace')
except IOError as msg:
print(msg)
continue
......
......@@ -67,6 +67,9 @@ Core and Builtins
Library
-------
- Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
Patch by Roger Serwy.
- Issue12510: Attempting to get invalid tooltip no longer closes Idle.
Original patch by Roger Serwy.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment