Pyxattr

Latest version: v0.8.1

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

Scan your dependencies

Page 2 of 3

0.6.0

*released Mon, 23 Jan 2017*

Bugfix and feature release (hence the version bump).

The main change is to the implementation of how attributes are listed
and read. This was done due to existing race issues when attributes are
modified while being read (github issue 12), but basically all various
internal paths that dealt with retrieving an attribute value or listing
attributes were unified in a single helper function that does handle
such concurrent modifications. As a side effect, the size of the buffers
used for such reads have changed, which (depending on attribute value)
might change the trade-off between number of syscalls done and memory
usage.

As feature release, OSX support was contributed by Adam Knight
<adammovq.us>, thanks a lot! I don't have access to OSX so the testing
for it is done via Travis builds; please report any issues.

0.5.6

*released Sat, 09 Apr 2016*

Small bugfix release:

* Fixes some sign-compare warnings
* Fixes potential name truncation in merge_ns()
* Fixes building on systems which don't have ENODATA

Tested with Python 2.7.11, Python 3.5.1 and PyPy 5.0.1.

0.5.5

*released Fri, 01 May 2015*

Bugfix release:

* fixes some more memory leaks when handling out-of-memory in get_all()
function
* improve error reporting when an attribute disappears after we asked
for its length but before we managed to read it
* fix int/size_t issues found by RedHat/Fedora,
https://bugzilla.redhat.com/show_bug.cgi?id=1127310; the fix is
different than their fix, but it should accomplish the same thing
* convert all code to only do explicit casts after checking boundaries,
making the code `-Wconversion`-clean (although that warning is not
enabled by default)

0.5.4

*released Thu, 30 Apr 2015*

Fix memory leaks on some of the error-handling paths of the `get()`
function.

0.5.3

*released Fri, 23 May 2014*

Small optimisations release:

* ari edelkind contributed a speed-up optimisation for handling of files
without xattrs (which is, in general, the expected case)
* Jonas Borgström contributed a behaviour change to the handling of file
names: under Python 3 and up, unicode paths are encoded/decoded using
the 'surogatee' handler, instead of the 'strict' handler; while this
can hide encoding errors, it mirrors what Python libraries do
(e.g. see os.fsencode/fsdecode)
* Sean Patrick Santos contributed improvements to the test suite so that
it can be used even on files systems which have built-in attributes
(e.g. when using SELinux, or NFSv4); to enable this, define the
attributes in the TEST_IGNORE_XATTRS environment variable

0.5.2

*released Thu, 03 Jan 2013*

Bug-fix release. Thanks to Michał Górny, it looked like the library had
problem running under pypy, but actually there was a bug in the
PyArg_ParseTuple use of et (signed vs. unsigned, and lack of compiler
warnings). This was fixed, and now the test suite passed with many
CPython versions and PyPy (version 1.9).

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.