-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to anyopen for taking filelike objects; remove broken `…
….zip` support (#197) * Added support to util.anyopen() for taking filelike objects Use in this way requires specifying the compression, if any, that the stream features in order to decompress it. Reworked anyopen to allow new `compression` keyword to override extension detection * Support python < 3.10 * Added checks for stream behavior in anyopen; * dropped broken zip support in anyopen We never had working zip archive support from the looks of it. This is because zipfiles are not just a compression scheme, they are an archive format that features compression. * Added additional tests * update CHANGES Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
- Loading branch information
Showing
3 changed files
with
193 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters