7 Small optimisations release:
9 * ari edelkind contributed a speed-up optimisation for handling of files
10 without xattrs (which is, in general, the expected case)
11 * Jonas Borgström contributed a behaviour change to the handling of file
12 names: under Python 3 and up, unicode paths are encoded/decoded using
13 the 'surogatee' handler, instead of the 'strict' handler; while this
14 can hide encoding errors, it mirrors what Python libraries do
15 (e.g. see os.fsencode/fsdecode)
16 * Sean Patrick Santos contributed improvements to the test suite so that
17 it can be used even on files systems which have built-in attributes
18 (e.g. when using SELinux, or NFSv4); to enable this, define the
19 attributes in the TEST_IGNORE_XATTRS environment variable
24 Bug-fix release. Thanks to Michał Górny, it looked like the library had
25 problem running under pypy, but actually there was a bug in the
26 PyArg_ParseTuple use of et# (signed vs. unsigned, and lack of compiler
27 warnings). This was fixed, and now the test suite passed with many
28 CPython versions and PyPy (version 1.9).
33 Bug-fix release. Thanks to Dave Malcolm and his cpychecker tool, a
34 number of significant bugs (refcount leaks and potential NULL-pointer
35 dereferences) have been fixed.
37 Furthermore, compatibility with Python 3 has been improved; this however
38 required changing the meaning of the ``namespace`` argument to the
39 functions: if passed, None is no longer a valid value; pass an empty
40 string if (due to the structure of your program) you have to pass this
41 argument but want to specify no namespace.
43 Also, the project home page has changed from SourceForge to GitHub, and
44 the documentation has been converted from epydoc-based to sphinx.
50 Implemented support for Python 3. This required a significant change to
51 the C module, hence the new version number.
59 The old functions ({get,set,list,remove}xattr) are deprecated and replaced with
60 a new API that is namespace-aware and hopefully will allow other OSes (e.g.
61 FreeBSD) to be supported more naturally.
63 Both the old and the new API are supported in the 0.4 versions, however users
64 are encouraged to migrate to the new API.
69 A new bulk get function called get_all() has been added that should be somewhat
70 faster in case of querying files which have many attributes.
75 Since LGPLv3 is not compatible with GPLv2 (which unfortunately I didn't realize
76 before), the license was changed to LGPLv2.1 or later.
81 Unittest coverage was improved.
86 * changed licence from GPL to LGPL (3 or later)
87 * changed listxattr return type from tuple to a list
88 * developer-related: added unittests
93 * fixed listing symlink xattrs
98 * fixed a bug when reading symlink EAs (you weren't able to
100 * fixed a possible memory leak when the actual read of the EA
101 failed but the call to get the length of the EA didn't