Path to this page:
Subject: CVS commit: pkgsrc/devel/py-xopen
From: Adam Ciarcinski
Date: 2025-02-13 14:50:00
Message id: 20250213135000.D742BFBE0@cvs.NetBSD.org
Log Message:
py-xopen: updated to 2.0.2
v2.0.2 (2024-06-12)
* Fix a bug that was triggered when reading large compressed files with an \
external program.
v2.0.1 (2024-03-28)
* Fixed a bug where reading from stdin and other pipes would discard the first \
bytes from the input.
* Zstd files compressed with the --long=31 files can now be opened without \
throwing errors.
v2.0.0 (2024-03-26)
* Support for gzip levels has been made more consistent. Levels 0-9 are \
supported. Level 11 which was only available when the pigz backend was present \
is not supported anymore. Level 0, gzip format without compression, lead to \
crashes when the gzip application backend was used as this does not have a -0 \
flag. xopen() now defers to other backends in that case.
* xopen() now accepts file-like objects for its filename argument.
* Various refactors for better code size and readability:
PipedCompressionReader/Writer are now combined _PipedCompressionProgram class.
_PipedCompressionProgram is binary-only. For text reading and writing it is \
wrapped in an io.TextIOWrapper in the xopen() function.
Classes that derive from PipedCompressionReader/Writer have been removed.
* xopen's classes, variables and functions pertaining to piped reading and \
writing are all made private by prefixing them with an underscore. These are not \
part of the API and may change between releases.
Files: