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 eric.araujo
Recipients belopolsky, eric.araujo, pdonis, zach.ware
Date 2020-02-13.01:25:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ah, I got it wrong, get_data itself uses `rb`, not default `r`.
It makes sense given that package data could be any kind of file, not necessarily text.  Too bad there isn’t a `get_text(encoding)` method in the loader API!

With Python 3’s rich IO system, isn’t there a quick and correct way to get a text file from a bytes stream?  TextIOWrapper?
Date User Action Args
2020-02-13 01:25:34eric.araujosetrecipients: + eric.araujo, belopolsky, pdonis, zach.ware
2020-02-13 01:25:34eric.araujosetmessageid: <>
2020-02-13 01:25:34eric.araujolinkissue1812 messages
2020-02-13 01:25:33eric.araujocreate