Skip to content
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

restore support for bz2 compression #66

Open
nhoffman opened this issue Dec 6, 2017 · 0 comments
Open

restore support for bz2 compression #66

nhoffman opened this issue Dec 6, 2017 · 0 comments

Comments

@nhoffman
Copy link
Member

nhoffman commented Dec 6, 2017

In the migration to python3, support for bz2 compression was dropped, for two reasons:

  • bz2.BZ2File() opens files in binary mode only
  • bz2.open() returns an object with no name attribute

These two issues made it difficult to read and write bz2-compressed files using the FileType object. I decided to drop bz2 compression in the interest of making it to python3. Perhaps someone would like to bring it back...

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

No branches or pull requests

1 participant