Skip to content

馃悰 Open gziped files in text mode - #66

Open
pajowu wants to merge 1 commit into
bgreenlee:mainfrom
okfde:pajowu/gzip_rt
Open

馃悰 Open gziped files in text mode#66
pajowu wants to merge 1 commit into
bgreenlee:mainfrom
okfde:pajowu/gzip_rt

Conversation

@pajowu

@pajowu pajowu commented Dec 19, 2022

Copy link
Copy Markdown
Contributor

When using gzip.open, the mode r means rb. We want to open the file in text mode, so we have to use rt. Otherwise this lead to crashes if the files is opened with full_lines=True

When using `gzip.open`, the mode `r` means `rb`. We want to open the file in text mode, so we have to use `rt`. Otherwise this lead to crashes if the files is opened with `full_lines=True`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant