Message394413
> 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.
Of course, I suggested to use "rb" when you want to read bytes.
* When reading binary from uncompressed file, mode="rb" just works for 3.6+.
* When reading text from uncompressed file, mode="r" just works for 3.6+.
* When reading binary from compressed file, mode="rb" just works for 3.6+.
* Reading text from compressed file is not supported until Python 3.10. |
|
Date |
User |
Action |
Args |
2021-05-26 03:46:18 | methane | set | recipients:
+ methane, amaury.forgeotdarc, jaraco, eric.araujo, r.david.murray, mnewman, tati_alchueyr |
2021-05-26 03:46:18 | methane | set | messageid: <1622000778.08.0.693676824588.issue5758@roundup.psfhosted.org> |
2021-05-26 03:46:18 | methane | link | issue5758 messages |
2021-05-26 03:46:17 | methane | create | |
|