Skip to content

BUG: Fix read_fwf with compressed files. #4784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2013

Conversation

jtratner
Copy link
Contributor

@jtratner jtratner commented Sep 9, 2013

Fixes #3963.

gzip and bz2 both now return bytes rather than str in Python 3, so
need to check for bytes and decode as necessary.

replacing #4783

`gzip` and `bz2` both now return `bytes` rather than `str` in Python 3,
so need to check for bytes and decode as necessary.
@jtratner
Copy link
Contributor Author

jtratner commented Sep 9, 2013

@y-p this look okay to you now?

@ghost
Copy link

ghost commented Sep 9, 2013

You already have a +1, what more do you want, blood? :)

jtratner added a commit that referenced this pull request Sep 9, 2013
@jtratner jtratner merged commit 53eec08 into pandas-dev:master Sep 9, 2013
@jtratner jtratner deleted the fix-read-fwf-with-compression branch September 9, 2013 12:27
@ghost ghost mentioned this pull request Sep 9, 2013
@ghost
Copy link

ghost commented Sep 9, 2013

reopened #3963. bad +1 by me

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.

BUG: python 3 compression and read_fwf
1 participant