1. 14 Jan, 2017 1 commit
  2. 09 Jan, 2017 1 commit
  3. 08 Jan, 2017 1 commit
  4. 07 Jan, 2017 5 commits
  5. 03 Jan, 2017 1 commit
  6. 02 Jan, 2017 6 commits
  7. 01 Jan, 2017 2 commits
  8. 29 Dec, 2016 7 commits
  9. 28 Dec, 2016 1 commit
    • Preston Landers's avatar
      Attempt to fix issue #866 by iterating over code with `dis.Bytecode` instead... · 1bd827ef
      Preston Landers authored
      Attempt to fix issue #866 by iterating over code with `dis.Bytecode` instead of the internal `_iter_code`.
      
      The `dis` module was already used in `_iter_code` so I figured it was safe to use `Bytecode` from it. Not sure how this assumption holds up across all supported Python releases. I can only assume `Bytecode` wasn't there before when `_iter_code` was originally written?
      
      Note that `_iter_code` doesn't appear to be called anywhere in light of this change so I removed it.
      
      I should also note that `get_module_constant` has never worked with `setuptools.__version__` (returns -1) because it's not a string literal; it gets that attribute from another module.  But this change does work in cases where a string literal is requested.
      
      https://github.com/pypa/setuptools/issues/866
      1bd827ef
  10. 27 Dec, 2016 1 commit
  11. 24 Dec, 2016 4 commits
  12. 22 Dec, 2016 3 commits
  13. 21 Dec, 2016 3 commits
  14. 18 Dec, 2016 4 commits