Skip to content

Commit

Permalink
Merge pull request #53 from pauldmccarthy/rf/fileobj-segfault
Browse files Browse the repository at this point in the history
Accept file name or file object as first argument to IndexedGzipFile
  • Loading branch information
pauldmccarthy authored Jan 2, 2021
2 parents dddcd81 + 108c88f commit ea6fa91
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 162 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# `indexed_gzip` changelog


## 1.4.0 (January 2nd 2021)


* Fixed a bug in the pickling/copying logic in the `IndexedGzipFile` class
(#50, #51)
* New `indexed_gzip.open` function, which just creates and returns an
`IndexedGzipFile`.
* When creating an `IndexedGzipFile`, the first argument (`filename`) may
be either a file name, or an open file handle (#49, #53).
* Migrated CI testing and building to Github Actions (#52).
* Binary wheels for Windows now have ZLIB statically compiled in as part
of the wheel, so ZLIB no longer needs to be installed (#43, #52).


## 1.3.3 (November 14th 2020)


Expand Down
3 changes: 2 additions & 1 deletion indexed_gzip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

from .indexed_gzip import (_IndexedGzipFile, # noqa
IndexedGzipFile,
open,
NotCoveredError,
NoHandleError,
ZranError)
Expand All @@ -20,4 +21,4 @@
"""


__version__ = '1.3.3'
__version__ = '1.4.0'
Loading

0 comments on commit ea6fa91

Please sign in to comment.