[Checkins] [zopefoundation/AccessControl] 234964: Update header files to latest from upstream.

GitHub noreply at github.com
Fri May 12 11:58:03 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/AccessControl
  Commit: 2349643361951af7007c5788ebbddcc2d47c514f
      https://github.com/zopefoundation/AccessControl/commit/2349643361951af7007c5788ebbddcc2d47c514f
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M include/Acquisition/Acquisition.h
    M include/ExtensionClass/ExtensionClass.h

  Log Message:
  -----------
  Update header files to latest from upstream.


  Commit: 7e10f8bdf42ed13f86c345a77176bc2ffc074065
      https://github.com/zopefoundation/AccessControl/commit/7e10f8bdf42ed13f86c345a77176bc2ffc074065
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M setup.py
    M src/AccessControl/Implementation.py
    M src/AccessControl/tests/testSecurityManager.py
    M src/AccessControl/tests/testZopeSecurityPolicy.py

  Log Message:
  -----------
  Always build the extension and test it.

The extension should be compatible with Python 3 and we don't support
PyPy at all.


  Commit: 00eff54dd078a3b03c19d0f640112916b339dd8b
      https://github.com/zopefoundation/AccessControl/commit/00eff54dd078a3b03c19d0f640112916b339dd8b
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M src/AccessControl/cAccessControl.c

  Log Message:
  -----------
  Don't reuse the 'module' variable.

In python3 the value of this variable (the module object), is returned
back to the interpreter.


  Commit: 70b4baccaa23740e64dc81ce9bdcdeb021890ec6
      https://github.com/zopefoundation/AccessControl/commit/70b4baccaa23740e64dc81ce9bdcdeb021890ec6
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M src/AccessControl/cAccessControl.c

  Log Message:
  -----------
  PyBytes_AS_STRING does not work on unicode objects.

To get a 'char*' from a unicode object it must be converted to PyBytes
first. This is ensuree via the 'convert_name' function.


  Commit: 9cf1b7b799f14a1598f4d3d8c3c015556c5aa71b
      https://github.com/zopefoundation/AccessControl/commit/9cf1b7b799f14a1598f4d3d8c3c015556c5aa71b
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M src/AccessControl/cAccessControl.c

  Log Message:
  -----------
  Use tp_free instead of PyObject_DEL.

Previously PyObject_DEL was redefined in ExtensionClass.h to use
tp_free. This redefintion has been removed (see
https://github.com/zopefoundation/ExtensionClass/issues/14).
=> The use of PyObject_DEL in cAccessControl is not correct anymore and
must be replaced with calling tp_free.


Compare: https://github.com/zopefoundation/AccessControl/compare/d7373d8a41be...9cf1b7b799f1


More information about the checkins mailing list