-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Conversation
|
||
__all__ = ['Popen', 'PIPE', 'STDOUT', 'check_output', 'CalledProcessError'] | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra newline.
ping on this |
77a5ddd
to
a9a6507
Compare
Rebased and fixed comments |
except ImportError: | ||
return ( | ||
"subprocess32 was not found. It used for " | ||
" for python versions prior to 3.2 to improves" |
There was a problem hiding this comment.
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.
And use it in plase of subprocess on posix systems.
a9a6507
to
4b36ce4
Compare
This is failing because lib/matplotlib/compat/subprocess.py passes pep8 |
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.