9 Major release removing Python 2 support. This allow both code cleanup
10 and new features, such as:
12 - Support for pathlib objects in `apply_to` and `has_extended`
14 - Use of built-in C API functions for bytes/unicode/pathlib conversion
15 when dealing with file names, removing custom code (with the
18 Important API changes/bug fixes:
20 - Initialisation protocol has been changed, to disallow uninitialised
21 objects; this means that `__new__` will always create valid objects,
22 to prevent the need for checking initialisation status in all code
23 paths; this also (implicitly) fixes memory leaks on re-initialisation
24 (calling `__init__(…)` on an existing object) and segfaults (!) on
25 non-initialised object attribute access.
27 Additionally, test suite has changed to `pytest`.
32 *released Thu, 14 Nov 2019*
36 - Switch build system to Python 3 by default (can be overridden if
38 - Internal improvements for better cpychecker support.
39 - Fix compatibility with PyPy.
40 - Test improvements (both local and on Travis), testing more variations
42 - Improve test coverage, and allow gathering test coverage results.
43 - Drop support (well, drop testing) for Python lower than 2.7.
44 - Minor documentation improvements (closes #9, #12).
49 *released Thu, 30 Apr 2015*
53 - Enable all FreeBSD versions after 7.x at level 2 (thanks to Garrett
55 - Make test suite pass under FreeBSD, which has a stricter behaviour
56 with regards to invalid ACLs (which we do exercise in the test suite),
57 thanks again to Garret for the bug reports.
62 *released Sat, 24 May 2014*
64 No visible changes release: just fix tests when running under pypy.
69 *released Sun, 13 May 2012*
71 A bug-fix only release. Critical bugs (memory leaks and possible
72 segmentation faults) have been fixed thanks to Dave Malcolm and his
73 ``cpychecker`` tool. Additionally, some compatibility issues with Python
74 3.x have been fixed (str() methods returning bytes).
76 The documentation has been improved and changed from epydoc to sphinx;
77 note however that the documentation is still auto-generated from the
80 Project reorganisation: the project home page has been moved from
81 SourceForge to GitHub.
87 *released Sun, 27 Dec 2009*
89 Added support for Python 3.x and improved support for Unicode filenames.
94 *released Sat, 28 Jun 2008*
99 Starting with this version, pylibacl is licensed under LGPL 2.1,
100 Febryary 1999 or any later versions (see README.rst and COPYING).
105 A few more Linux-specific functions:
107 - add the ACL.equiv_mode() method, which will return the equivalent
108 octal mode if this is a basic ACL and raise an IOError exception
111 - add the acl_extended(...) function, which will check if an fd or path
117 FreeBSD 7.x will have almost all the acl manipulation functions that
118 Linux has, with the exception of __getstate__/__setstate__. As a
119 workaround, use the str() and ACL(text=...) methods to pass around
120 textual representations.
125 At module level there are now a few constants exported for easy-checking
126 at runtime what features have been compiled in:
128 - HAS_ACL_FROM_MODE, denoting whether the ACL constructor supports the
131 - HAS_ACL_CHECK, denoting whether ACL instances support the check()
134 - HAS_ACL_ENTRY, denoting whether ACL manipulation is possible and the
135 Entry and Permset classes are available
137 - HAS_EXTENEDED_CHECK, denoting whether the acl_extended function is
140 - HAS_EQUIV_MODE, denoting whether ACL instances support the
146 Many functions have now unittests, which is a good thing.
152 *released Sun, 21 Oct 2007*
157 Under Linux, implement more functions from libacl:
159 - add ACL(mode=...), implementing acl_from_mode
160 - add ACL().to_any_text, implementing acl_to_any_text
161 - add ACL comparison, using acl_cmp
162 - add ACL().check, which is a more descriptive function than validate