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 jaraco
Recipients amaury.forgeotdarc, eric.araujo, jaraco, methane, mnewman, r.david.murray, tati_alchueyr
Date 2021-05-25.12:37:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621946247.03.0.0364825862332.issue5758@roundup.psfhosted.org>
In-reply-to
Content
I did consider and confirm that mode="rb" does also provide a uniform solution, but it also regresses the behavior of uncompressed inputs, making them bytes where they were text. This approach feels like the "Python 1" compatibility approach.

At least in my case, the preference was to migrate to the future behavior, where all content is decoded to Unicode text, without having to wait for Python 3.9 to sunset.
History
Date User Action Args
2021-05-25 12:37:27jaracosetrecipients: + jaraco, amaury.forgeotdarc, eric.araujo, r.david.murray, mnewman, methane, tati_alchueyr
2021-05-25 12:37:27jaracosetmessageid: <1621946247.03.0.0364825862332.issue5758@roundup.psfhosted.org>
2021-05-25 12:37:27jaracolinkissue5758 messages
2021-05-25 12:37:26jaracocreate