Terry J. Reedy <tjre...@udel.edu> added the comment:

I just discovered that the default for me is some version of latin1, not ascii, 
so that utf-8 'ö' is read as 'ö'.  Hence, no UnicodeDecodeError even if 'ö' is 
being read and decoded by the initial readline call.  I presume the same is 
true on current Windows buildbots.  Hence, it was a bug to not include an 
encoding in the test file open calls.  (The widget itself *does* use explicit 
'ascii' or 'utf-8' encodings for open().)

----------
components:  -Tests
stage: patch review -> commit review

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

Reply via email to