Releases: pauldmccarthy/indexed_gzip
Releases · pauldmccarthy/indexed_gzip
1.3.1
Changes in this release:
- Reverted the error type raised by the
IndexedGzipFile.seek
toValueError
, asnibabel
assumes that theseek
method of file objects raise aValueError
ifSEEK_END
is not supported.
v1.3.0: Merge pull request #37 from pauldmccarthy/enh/seek_end
Changes in this release:
- The
IndexedGzipFile.seek
method now accepts seeking from the end of uncompressed stream viaSEEK_END
, as long as the index has been built (#37).
1.2.0
Changes in this release:
- New
IndexedGzipFile.seek_points
method, which returns the compressed and
uncompressed seek point locations.
1.1.0
Changes in this release:
IndexedGzipFile
objects are now picklable, as long as they are created with the default setting ofdrop_handles=True
, and with afilename
and not an openfileobj
(#28, #31).- Changed the return type of
zran_tell
fromlong
touint64_t
, because the former is not guaranteed to be 64 bit (#29, #30). - Changed the
zran_index_t.compressed_size
anduncompressed_size
fields fromsize_t
touint64_t
because the former is not guaranteed to be 64 bit.
1.0.0
Changes in this release:
- Removed the deprecated
fid
argument to theIndexedGzipFile
constructor. - Removed the
SafeIndexedGzipFile
.
0.8.10
Changes in this release:
- Fix to package metadata.
0.8.9
0.8.8
Changes in this release:
- Fixed bug affecting files which were an exact multiple of the read buffer
size.
0.8.7
Changes in this release:
- Internal changes to how file handles are managed, to improve Windows
compatibility. - The
_IndexedGzipFile.read
method now acquires a single file handle, rather
than opening/closing multiple handles across calls tozran_read
.