Skip to content

Commit

Permalink
Fix build errors on recent macOS versions. (#150)
Browse files Browse the repository at this point in the history
* Fix coveralls upload.

---------

Co-authored-by: Dieter Maurer <[email protected]>
  • Loading branch information
icemac and d-maurer authored May 17, 2024
1 parent 82ab107 commit d8363b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ source =
[report]
show_missing = true
precision = 2
ignore_errors = True
exclude_lines =
except ImportError:
if __name__ == '__main__':
Expand Down
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ For changes before version 3.0, see ``HISTORY.rst``.
6.4 (unreleased)
----------------

- Nothing changed yet.

- Make dict views (`.keys()`, `.items()` and `.values()`) behave like their
unrestricted versions.
(`#147 <https://github.com/zopefoundation/AccessControl/pull/147>`_)

- Make `.items()` validate each keys and values, like `.keys()` and
`.values()` do.

- Fix build errors on recent macOS versions.


6.3 (2023-11-20)
----------------
Expand Down
8 changes: 4 additions & 4 deletions src/AccessControl/cAccessControl.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ static PyExtensionClass ZopeSecurityPolicyType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) ZopeSecurityPolicy_dealloc,/* tp_dealloc */
NULL, /* tp_print */
0, /* tp_vectorcall_offset */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down Expand Up @@ -484,7 +484,7 @@ static PyExtensionClass SecurityManagerType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) SecurityManager_dealloc,/* tp_dealloc */
NULL, /* tp_print */
0, /* tp_vectorcall_offset*/
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down Expand Up @@ -543,7 +543,7 @@ static PyExtensionClass PermissionRoleType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) PermissionRole_dealloc, /* tp_dealloc */
NULL, /* tp_print */
0, /* tp_vectorcall_offset */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down Expand Up @@ -613,7 +613,7 @@ static PyExtensionClass imPermissionRoleType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) imPermissionRole_dealloc, /* tp_dealloc */
NULL, /* tp_print */
0, /* tp_vectorcall_offset */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down

0 comments on commit d8363b5

Please sign in to comment.