[issue43297] bz2.open modes behaving differently than standard open() modes

2021-02-22 Thread Philipp Freyer
New submission from Philipp Freyer : The documentation clearly states that bz2.open(mode='r') opens a file in binary mode. I would have to use 'rt' for text mode. The basic Python open(mode='r') method opens a file in text mode. This is how I would expect any

[issue43297] bz2.open modes behaving differently than standard open() modes

2021-02-23 Thread Philipp Freyer
Philipp Freyer added the comment: I understand and accept that but I would recommend highlighting this difference in the documentation a bit more since this information can be easily skipped when reading the documentation. I still find it important to hint to this stronger since I've