1. 08 Aug, 2018 5 commits
  2. 23 Apr, 2018 4 commits
  3. 20 Apr, 2018 1 commit
  4. 09 Mar, 2018 5 commits
  5. 08 Mar, 2018 1 commit
    • Jason Madden's avatar
      Cleanups from review. · 5aae589d
      Jason Madden authored
      Detect pip installs with 'bdist_wheel' (or manual builds for upload) and don't let the C extensions fail to build unless PURE_PYTHON is set.
      5aae589d
  6. 07 Mar, 2018 2 commits
    • Jason Madden's avatar
      Stop parsing the struct formats each time. · 0b663377
      Jason Madden authored
      This makes the test runs in pure_python mode 15s faster.
      
      Microbenchmarks on CPython 2.7.14:
      
      $ python -m perf timeit -s 'from struct import pack,unpack' 'unpack("i", pack("i", 123456))'
      .....................
      Mean +- std dev: 365 ns +- 12 ns
      
      $ python -m perf timeit -s 'from struct import Struct; s = Struct("i"); unpack=s.unpack; pack=s.pack' 'unpack(pack(123456))'
      .....................
      Mean +- std dev: 251 ns +- 9 ns
      
      No appreciable difference on PyPy.
      0b663377
    • Jason Madden's avatar
      Support PURE_PYTHON at runtime. · 5ddd0442
      Jason Madden authored
      Add failing tests and then fix them. Use a common function to DRY in
      all the modules.
      
      Fixes #78
      
      Also use zope.testrunner in tox (and travis) because it allows passing
      arguments to select what tests to run, see slow tests, etc.
      
      Simplify setup.py to always build the C modules and avoid polluting
      wheel caches (the same as zope.security and other projects that have
      been worked on lately).
      
      Bump the minimum 'persistent' requirement to one that actually works
      in PURE_PYTHON mode (plus fix wheel metadata; otherwise we need
      environment markers).
      
      Test PURE_PYTHON in environments on Travis. Do some minor tuning to
      eliminate redundant test cases and speed up test time.
      5ddd0442
  7. 21 Feb, 2018 1 commit
  8. 15 Sep, 2017 2 commits
  9. 23 Apr, 2017 2 commits
  10. 21 Apr, 2017 1 commit
  11. 20 Apr, 2017 3 commits
  12. 13 Apr, 2017 1 commit
  13. 05 Mar, 2017 2 commits
  14. 24 Jan, 2017 4 commits
  15. 23 Jan, 2017 2 commits
  16. 18 Jan, 2017 1 commit
    • Jason Madden's avatar
      Use macpython everywhere. (#62) · f4531e4b
      Jason Madden authored
      * Use macpython everywhere.
      
      Add 3.6 for mac.
      
      See zopefoundation/persistent#59
      
      * Manually install persistent for travis.
      
      * plain pypy3 is python 3.2 which won't run newer setuptools
      f4531e4b
  17. 13 Jan, 2017 1 commit
  18. 12 Jan, 2017 2 commits