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
Fix a problem under Solaris when using Python 3 #3481
Conversation
…pport for Python 2.7. subproces.Popen() produces bytes without the encoding argument in 3, which is not recognized by 2.7, and doesn't need to be decoded.
Python 3.5 failed on Travis CI:
|
Sigh...
|
@kulikjak - I realize now that I was getting this error in the scons-3.1.0 which does not have your recent change to add "decode()" - so in your opinion, is this change unnecessary? |
Tests passing. Merging. |
Oops forgot to ask for a blurb for CHANGES.txt |
Handle Unicode differences in python 2 & 3 when checking for Oracle Studio compiler.
|
How's this:
|
@bdbaddog looks good to me. |
o.k. done. Thanks! |
@datalogics-robb not to pile on or anything, but are you in any position to cross-check any of the work in #3473? Since Solaris users are thin on the ground at the moment... |
What would you like me to do? |
If you can take a look at the pull request #3473 and see if the changes look reasonable? Make any comments on the changes in that pull request. That would be very helpful. |
Fix a problem under Solaris when using Python 3, while maintaining support for Python 2.7. subproces.Popen() produces bytes without the encoding argument in 3, which is not recognized by 2.7, and doesn't need to be decoded.
Also made a few changes to make "pycodestyle" happy for PEP8 compliance.
The issue is Solaris specific, and I don't believe it warrants a test without a Solaris test node.
Manually tested with Python 2.7 and 3.7 on Solaris/SPARC machines.