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.

Author terry.reedy
Recipients cheryl.sabella, doko, terry.reedy
Date 2018-02-12.15:35:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518449700.3.0.467229070634.issue32826@psf.upfronthosting.co.za>
In-reply-to
Content
What system?  test_idle passes on Windows.  Unfortunately, none of the *nix or Mac buildbots run tkinter and hence no tests that require a live tk window, and this one does.  Cheryl, what do you see on your linux?

Byte 0xc3 in position 1540 is the first byte of the utf-8 encoding of the 'ö' in Löwis on line 27 of CREDITS.txt.  So on your system, readline must be reading *and decoding* more of the file.

I am puzzled that the test fails now if it passed with the 3.6.4 release, as it and the textfile have not been touched since last summer.
The files are the same on all 3 python versions.

In any case, I will add encoding='utf-8'to open.  I will also use subtest to identify failing cases.  I will need you to verify the fix on your system.
History
Date User Action Args
2018-02-12 15:35:00terry.reedysetrecipients: + terry.reedy, doko, cheryl.sabella
2018-02-12 15:35:00terry.reedysetmessageid: <1518449700.3.0.467229070634.issue32826@psf.upfronthosting.co.za>
2018-02-12 15:35:00terry.reedylinkissue32826 messages
2018-02-12 15:35:00terry.reedycreate