Skip to content

Use subprocess32 on python 2.7 #6576

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

Merged
merged 5 commits into from
Jul 12, 2016

Conversation

jenshnielsen
Copy link
Member

Workaround for #5314

Subprocess32 should fix the insecure string pickle error in python2.7 on OSX as seen in #5314 however the package is only tested on posix systems so don't use it on windows.


__all__ = ['Popen', 'PIPE', 'STDOUT', 'check_output', 'CalledProcessError']



Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra newline.

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Jun 12, 2016
@tacaswell
Copy link
Member

ping on this

@jenshnielsen jenshnielsen force-pushed the subprocess_changes2 branch from 77a5ddd to a9a6507 Compare July 10, 2016 20:05
@jenshnielsen
Copy link
Member Author

Rebased and fixed comments

except ImportError:
return (
"subprocess32 was not found. It used for "
" for python versions prior to 3.2 to improves"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The double for is still here. Should be Python.

@jenshnielsen jenshnielsen force-pushed the subprocess_changes2 branch from a9a6507 to 4b36ce4 Compare July 11, 2016 18:35
@tacaswell
Copy link
Member

This is failing because lib/matplotlib/compat/subprocess.py passes pep8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants