1. 09 Aug, 2018 5 commits
  2. 08 Aug, 2018 5 commits
  3. 23 Apr, 2018 4 commits
  4. 20 Apr, 2018 1 commit
  5. 09 Mar, 2018 5 commits
  6. 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
  7. 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
  8. 21 Feb, 2018 1 commit
  9. 15 Sep, 2017 2 commits
  10. 23 Apr, 2017 2 commits
  11. 21 Apr, 2017 1 commit
  12. 20 Apr, 2017 3 commits
  13. 13 Apr, 2017 1 commit
  14. 05 Mar, 2017 2 commits
  15. 24 Jan, 2017 4 commits
  16. 23 Jan, 2017 1 commit