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 barry-scott
Recipients Anthony Sottile, barry-scott, brandtbucher, miss-islington, paul.moore, python-dev, steve.dower, tim.golden, zach.ware
Date 2020-04-22.13:18:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587561505.07.0.969422468217.issue40260@roundup.psfhosted.org>
In-reply-to
Content
Anthony,

Now that everything is opened using open_code that returns bytes its
not clear to me why this breaks for you.

Further the data must be bytes for the codings to be figured out.

Removing the b'\n' may be reasonable, but not for the reason given.
I kept it as the original code did this and assumed it was needed.
Maybe for Windows users that forget to put a trailing NL?

How can I reproduce your user case?
History
Date User Action Args
2020-04-22 13:18:25barry-scottsetrecipients: + barry-scott, paul.moore, tim.golden, python-dev, zach.ware, steve.dower, Anthony Sottile, miss-islington, brandtbucher
2020-04-22 13:18:25barry-scottsetmessageid: <1587561505.07.0.969422468217.issue40260@roundup.psfhosted.org>
2020-04-22 13:18:25barry-scottlinkissue40260 messages
2020-04-22 13:18:24barry-scottcreate