[Checkins] [zopefoundation/zope.interface] 53246e: Fix C optimizations broken on Py3k.

GitHub noreply at github.com
Wed Nov 16 03:31:53 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.interface
  Commit: 53246e53624b0ed24cabbd6a819008e2bf1e6540
      https://github.com/zopefoundation/zope.interface/commit/53246e53624b0ed24cabbd6a819008e2bf1e6540
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2016-11-15 (Tue, 15 Nov 2016)

  Changed paths:
    M CHANGES.rst
    M src/zope/interface/_zope_interface_coptimizations.c
    M src/zope/interface/adapter.py
    M src/zope/interface/declarations.py
    M src/zope/interface/interface.py

  Log Message:
  -----------
  Fix C optimizations broken on Py3k.

- The bare import of '_zope_c_optimizations' prevented them from being
  used.

- After enabling them via absolute imports, they would fail due to
  http://bugs.python.org/issue15657.

Fixes #60.


  Commit: b27a50f4131ccf10732d7ebd20b3f8fa8afd397c
      https://github.com/zopefoundation/zope.interface/commit/b27a50f4131ccf10732d7ebd20b3f8fa8afd397c
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2016-11-15 (Tue, 15 Nov 2016)

  Changed paths:
    M src/zope/interface/tests/test_adapter.py
    M src/zope/interface/tests/test_declarations.py
    M src/zope/interface/tests/test_interface.py

  Log Message:
  -----------
  Add tests asserting that optimzations are / are not present as expected.


  Commit: b8114b49cf14da404968bdb07eb50e9ae59c9422
      https://github.com/zopefoundation/zope.interface/commit/b8114b49cf14da404968bdb07eb50e9ae59c9422
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2016-11-15 (Tue, 15 Nov 2016)

  Changed paths:
    M CHANGES.rst
    M src/zope/interface/_zope_interface_coptimizations.c
    M src/zope/interface/adapter.py
    M src/zope/interface/declarations.py
    M src/zope/interface/interface.py
    M src/zope/interface/tests/test_adapter.py
    M src/zope/interface/tests/test_declarations.py
    M src/zope/interface/tests/test_interface.py

  Log Message:
  -----------
  Merge pull request #61 from zopefoundation/60-fix_c_optimizations-py3k

Fix C optimizations broken on Py3k.


Compare: https://github.com/zopefoundation/zope.interface/compare/88c34a3ebb64...b8114b49cf14


More information about the checkins mailing list