[Checkins] [zopefoundation/Acquisition] 5438ce: Add support for PyPy and Python 3.4 using a pure-p...

GitHub noreply at github.com
Tue Mar 31 18:20:06 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Acquisition
  Commit: 5438ceaf2d35ad4257ceb47ebb16ff333f6bf185
      https://github.com/zopefoundation/Acquisition/commit/5438ceaf2d35ad4257ceb47ebb16ff333f6bf185
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-19 (Thu, 19 Mar 2015)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M README.rst
    M setup.py
    M src/Acquisition/__init__.py
    A src/Acquisition/_proxy.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Add support for PyPy and Python 3.4 using a pure-python port of the C extension code.

All tests continue to pass under 2.6 and 2.7.

The pure-python code currently raises AttributeError instead of RuntimeError in the
recursive-parent cases, though I'm not sure why that is. There may also be some issues
with the proxying of some methods, but those aren't covered by current test cases.


  Commit: 4053eaddba34e85c27adb44f5d8f2cc2326ba7b0
      https://github.com/zopefoundation/Acquisition/commit/4053eaddba34e85c27adb44f5d8f2cc2326ba7b0
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    R src/Acquisition/_proxy.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Add tests for all the methods proxied by the C wrappers, and make the Python implementation match that behaviour.


  Commit: 0fadb843234d646d4858aab56d605ab713d74522
      https://github.com/zopefoundation/Acquisition/commit/0fadb843234d646d4858aab56d605ab713d74522
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Fix the last doctest errors in pure-python mode about parent circles. They were another manifestation of zopefoundation/ExtensionClass#3 and required a workaround.


  Commit: 91c8b79722591218f6c17de13d8012bca84031a9
      https://github.com/zopefoundation/Acquisition/commit/91c8b79722591218f6c17de13d8012bca84031a9
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Restore python 2.6 and 3.4 compatibility.


  Commit: cae149de64f32177311d21de3664803e0f4499a5
      https://github.com/zopefoundation/Acquisition/commit/cae149de64f32177311d21de3664803e0f4499a5
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M setup.py
    M src/Acquisition/__init__.py

  Log Message:
  -----------
  Use new release of ExtensionClass to remove workarounds.


  Commit: 56a8ece3549763b783e3653f5de884a0e1069901
      https://github.com/zopefoundation/Acquisition/commit/56a8ece3549763b783e3653f5de884a0e1069901
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-20 (Fri, 20 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py

  Log Message:
  -----------
  Remove some leftover erroneous comments and simplify a few conditions.


  Commit: db7e3ebebace8016f237666c40e53898a4d15004
      https://github.com/zopefoundation/Acquisition/commit/db7e3ebebace8016f237666c40e53898a4d15004
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-21 (Sat, 21 Mar 2015)

  Changed paths:
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Adapt the garbage collection tests to run under PyPy. This makes the overall test diff smaller and easier to read.


  Commit: a27312ab9bb8016954922379c292057fcfc8c25e
      https://github.com/zopefoundation/Acquisition/commit/a27312ab9bb8016954922379c292057fcfc8c25e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-28 (Sat, 28 Mar 2015)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Per @davisagli bump version number in setup.py


  Commit: 821015341db94f61d5ca50fe81874604aea744cc
      https://github.com/zopefoundation/Acquisition/commit/821015341db94f61d5ca50fe81874604aea744cc
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-29 (Sun, 29 Mar 2015)

  Changed paths:
    M setup.py
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Add a test and a fix for the __of__ issue @davisagli reported. Only tested under Python2 because I couldn't figure out how to reproduce it under Python 3


  Commit: 5ca78ace3c93e5f7339526ad7fcdfa4457674c0b
      https://github.com/zopefoundation/Acquisition/commit/5ca78ace3c93e5f7339526ad7fcdfa4457674c0b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-29 (Sun, 29 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Add a test for a static Base mixin; this one runs under Python3


  Commit: ba35cf6f332afef881c54922c58e08e43390ecbd
      https://github.com/zopefoundation/Acquisition/commit/ba35cf6f332afef881c54922c58e08e43390ecbd
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Per @tseaver, avoid aliasing BytesIO to StringIO for test clarity.


  Commit: 8a77d12c485697cf477f80fe112cc82802681d58
      https://github.com/zopefoundation/Acquisition/commit/8a77d12c485697cf477f80fe112cc82802681d58
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M README.rst
    M setup.py
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Merge branch 'pypy-py3k' of git://github.com/NextThought/Acquisition into NextThought-pypy-py3k


  Commit: 4ffadd230c4501f9caf5d72a9772c5c943d76805
      https://github.com/zopefoundation/Acquisition/commit/4ffadd230c4501f9caf5d72a9772c5c943d76805
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Additional tests to bring coverage up to 98%.

Also fixes a few discovered differences between the C and Python implementations.


  Commit: d123b11927305b06e8ac19c5659af7bacfe6bc9b
      https://github.com/zopefoundation/Acquisition/commit/d123b11927305b06e8ac19c5659af7bacfe6bc9b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Hit 99% test coverage and correct a bug in the __repr__ implementation.


  Commit: 632e34ba8c389d1e27ddfa30f2c94656e7c2ddef
      https://github.com/zopefoundation/Acquisition/commit/632e34ba8c389d1e27ddfa30f2c94656e7c2ddef
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py

  Log Message:
  -----------
  Call __str__ more like the C version does; corrects test under Py3


  Commit: c4fa7e8e05a5985a8f4031b3aedbcb89dca24e76
      https://github.com/zopefoundation/Acquisition/commit/c4fa7e8e05a5985a8f4031b3aedbcb89dca24e76
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-03-31 (Tue, 31 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  A Python-implementation-specific test for the repeated-search-optimization gets us to 100% coverage.


  Commit: 17d8bdae7ca20e23084a9767415bbbaa300b4174
      https://github.com/zopefoundation/Acquisition/commit/17d8bdae7ca20e23084a9767415bbbaa300b4174
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-03-31 (Tue, 31 Mar 2015)

  Changed paths:
    M src/Acquisition/__init__.py
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Merge branch 'pypy-py3k' of git://github.com/NextThought/Acquisition into NextThought-pypy-py3k


  Commit: 483aa56157f4bc48f3a0cbbc1cbc22b6a696b9b1
      https://github.com/zopefoundation/Acquisition/commit/483aa56157f4bc48f3a0cbbc1cbc22b6a696b9b1
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-03-31 (Tue, 31 Mar 2015)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Get tox + nosetests to handle doctests properly.

Set PURE_PYTHON=1 for coverage testing under tox.


  Commit: 0db02f62230d1aba7400d1becf8de66cbd60fe4c
      https://github.com/zopefoundation/Acquisition/commit/0db02f62230d1aba7400d1becf8de66cbd60fe4c
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-03-31 (Tue, 31 Mar 2015)

  Changed paths:
    M src/Acquisition/tests.py

  Log Message:
  -----------
  Python 3.2 compatibility.


  Commit: 0029de97b99c6f32e6cda0aaf7c4248abd7a4ba3
      https://github.com/zopefoundation/Acquisition/commit/0029de97b99c6f32e6cda0aaf7c4248abd7a4ba3
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-03-31 (Tue, 31 Mar 2015)

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

  Log Message:
  -----------
  Declare / test support for PyPy, PyPy3, Python 3.2, 3.3, and 3.4.


Compare: https://github.com/zopefoundation/Acquisition/compare/2667b34dc880...0029de97b99c


More information about the checkins mailing list