[Checkins] [zopefoundation/Acquisition] 267e90: Update ExtensionClass header file.

GitHub noreply at github.com
Sun Feb 5 14:06:11 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Acquisition
  Commit: 267e90a4391b795bd4c51482289a5f55ac1cffcd
      https://github.com/zopefoundation/Acquisition/commit/267e90a4391b795bd4c51482289a5f55ac1cffcd
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M include/ExtensionClass/ExtensionClass.h
    A include/ExtensionClass/_compat.h

  Log Message:
  -----------
  Update ExtensionClass header file.

Also add the _compat.h from ExtensionClass. It is later used.


  Commit: f67dcaf5010587d100d3d84d1cd3201af7739ab5
      https://github.com/zopefoundation/Acquisition/commit/f67dcaf5010587d100d3d84d1cd3201af7739ab5
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M setup.py
    M src/Acquisition/Acquisition.h
    M src/Acquisition/_Acquisition.c

  Log Message:
  -----------
  Make Acquisition compiling and importable under python3.


  Commit: 0ef44695998066a1bcc2196a4226fe82a27bb98b
      https://github.com/zopefoundation/Acquisition/commit/0ef44695998066a1bcc2196a4226fe82a27bb98b
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M src/Acquisition/_Acquisition.c

  Log Message:
  -----------
  Port and refactor Wrapper_as_number and Wrapper_as_sequence.


  Commit: 74d23ca37d0b0153bc2591950802764c242113db
      https://github.com/zopefoundation/Acquisition/commit/74d23ca37d0b0153bc2591950802764c242113db
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M README.rst
    M src/Acquisition/_Acquisition.c
    M src/Acquisition/__init__.py

  Log Message:
  -----------
  Let aq_inContextOf return True or False.

In python2 there are two integer types int/long.
In python3 there is only long.
So I could return
 - always long:  Changes the current API for python2.
 - int in python2 and long in python3: Hard to write compatible code which depends on Acquisition.

I went with the third option return a bool now. Since the API changes
anyway in some kind, going to bool is much clener in my opinion.


  Commit: 8f529d5fa0cf861a0d2115a99bd26f063bdbe8f4
      https://github.com/zopefoundation/Acquisition/commit/8f529d5fa0cf861a0d2115a99bd26f063bdbe8f4
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M src/Acquisition/_Acquisition.c

  Log Message:
  -----------
  PyObject_LengthHint needs a TypeError to ignore missing __len__.


  Commit: d8e25d9efbf9119591545c4580300ae67258995f
      https://github.com/zopefoundation/Acquisition/commit/d8e25d9efbf9119591545c4580300ae67258995f
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M .travis.yml
    M setup.py
    M tox.ini

  Log Message:
  -----------
  Stop testing under Python 3.3 and use new PyPy3 on travis-ci.

This should avoid the setuptools related build failures.


  Commit: 0f9c6e2d5aeebe33719e50061e8d2bd4c6a458f6
      https://github.com/zopefoundation/Acquisition/commit/0f9c6e2d5aeebe33719e50061e8d2bd4c6a458f6
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Changelog.


Compare: https://github.com/zopefoundation/Acquisition/compare/1f7799c90b91...0f9c6e2d5aee


More information about the checkins mailing list