Filelike

Latest version: v0.5.0

Safety actively analyzes 620901 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.5.0

* Update packaging details to remove bundled distribute/setuptools,
and just generally simplify some things.

0.4.2

* Add gzip support to filelike.wrappers.compress.
Thanks to timcera for the patch.

0.4.1

* Buffer wrapper: support for truncating the underlying file on write-back
* Translate wrapper: allow truncating to zero size

0.4.0

* Add support for truncate() via a primitive _truncate() method
* Increase default buffer size to 64K (was previously a measly 1K)
* Remove old class names, along with their deprecation warnings

0.3.7

* Make __del__ more robust in the case of incomplete initialisation
(e.g. errors in a subclass constructor)
* filelike.wrappers.Buffer: explicitly pass a max_size argument to
SpooledTemporaryFile, with a sensible default value (currently 8KB)

0.3.6

* More robust __del__ method for FileWrapper subclasses

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.