Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3 and PyPy #65

Merged
merged 24 commits into from
May 31, 2018
Merged

Support Python 3 and PyPy #65

merged 24 commits into from
May 31, 2018

Commits on May 31, 2018

  1. Added more Python version for testing on Travis

    - simplify setup
    - use build matrix
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    f40323d View commit details
    Browse the repository at this point in the history
  2. [Python 3] Use find_packages

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    eed23c0 View commit details
    Browse the repository at this point in the history
  3. [Python 3] Use relative import

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    d5d8cba View commit details
    Browse the repository at this point in the history
  4. [Python 3] Add parentheses to print function

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    3cf6d91 View commit details
    Browse the repository at this point in the history
  5. Prefer assertEqual

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    48cc48c View commit details
    Browse the repository at this point in the history
  6. [Python 3] Fix except syntax

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    c258522 View commit details
    Browse the repository at this point in the history
  7. [Python 3] Use proper octal literal

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    3eb8c21 View commit details
    Browse the repository at this point in the history
  8. [Python 3] Use dual import for http support on Python 2 and 3

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    97bbcc4 View commit details
    Browse the repository at this point in the history
  9. [Python 3] Use open() instead of file()

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    4598bab View commit details
    Browse the repository at this point in the history
  10. [Python 3] Decode data read from pipes as utf-8

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    d936a4c View commit details
    Browse the repository at this point in the history
  11. [Python 3] Make sure index is not a float

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    9a8b4f5 View commit details
    Browse the repository at this point in the history
  12. [Python 3] Use isinstance() instead of type()

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    a1107b0 View commit details
    Browse the repository at this point in the history
  13. [Python 3] Convert dict values to list for iteration

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    22b777c View commit details
    Browse the repository at this point in the history
  14. [Python 3] Need to import reduce

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    14b1764 View commit details
    Browse the repository at this point in the history
  15. [Python 3] Use iterator correctly

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    0f986d0 View commit details
    Browse the repository at this point in the history
  16. [Python 3] Use str() to get error message

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    9781c5c View commit details
    Browse the repository at this point in the history
  17. [Python 3] Make Popen override Python 3 compatible

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    5e21754 View commit details
    Browse the repository at this point in the history
  18. Determine child process in a way that works on Linux and macOS

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    0a1e49a View commit details
    Browse the repository at this point in the history
  19. For thread safety, synchronize setting/getting of process id

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    edd1a70 View commit details
    Browse the repository at this point in the history
  20. Whitespace

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    8b6858f View commit details
    Browse the repository at this point in the history
  21. [Python 3] Adapt print of vm1 and vm2

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    ebf0a21 View commit details
    Browse the repository at this point in the history
  22. [Python 3] Convert range to list, seems preferred

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    2fe4927 View commit details
    Browse the repository at this point in the history
  23. Ignore race between process termination and kill

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    b1b61c3 View commit details
    Browse the repository at this point in the history
  24. Added changelog entry

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed May 31, 2018
    Configuration menu
    Copy the full SHA
    cb37047 View commit details
    Browse the repository at this point in the history