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 anmyachev
Recipients anmyachev, ezio.melotti, vstinner
Date 2021-10-13.14:31:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634135497.37.0.760320895517.issue45461@roundup.psfhosted.org>
In-reply-to
Content
Expected behavior - if `read()` function works correctly, then `readline()` should also works.

Reproducer in file - just run: `python test.py`.

Traceback (most recent call last):
  File "test.py", line 11, in <module>
    f.readline()
  File "C:\Users\amyachev\Miniconda3\envs\modin\lib\encodings\unicode_escape.py", line 26, in decode
    return codecs.unicode_escape_decode(input, self.errors)[0]
UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in position 8191: \ at end of string
History
Date User Action Args
2021-10-13 14:31:37anmyachevsetrecipients: + anmyachev, vstinner, ezio.melotti
2021-10-13 14:31:37anmyachevsetmessageid: <1634135497.37.0.760320895517.issue45461@roundup.psfhosted.org>
2021-10-13 14:31:37anmyachevlinkissue45461 messages
2021-10-13 14:31:37anmyachevcreate