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

Python 3.5 and PyPy compatibility #218

Merged
merged 9 commits into from
Sep 15, 2015
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Sep 7, 2015

Adding tests for Python 3.5 beta, nightly (3.6), and PyPy 2 and 3. This includes several fixes to ensure that Plumbum is compatible with the upcoming Python 3.5 release. Travis tests have been added.

The biggest change is getdoc is different in 3.5+, now looking up inheritance trees for docs, so a custom version was added, based on the stdlib, since cli uses __doc__ for help strings. Also, getargspec has been removed, so lib.getargspec now uses getfullargspec if getargspec is missing, and truncates it. subprocess doesn't always have mswindows, so using variable in plumbum.lib (it was imported already!).

PyPy fixes were mostly in plumbum.color, removing comparisons with is and strings, since those are not supported in the same way in PyPy.

@henryiii henryiii added the Bug label Sep 7, 2015
@henryiii henryiii added this to the v1.6.0 milestone Sep 7, 2015
essary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
tomerfiliba added a commit that referenced this pull request Sep 15, 2015
Python 3.5 and PyPy compatibility
@tomerfiliba tomerfiliba merged commit 433fa41 into tomerfiliba:master Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants