Skip to content

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Sep 25, 2019

Checklist
  • npm install && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

Fixes #1849, #1854, #1861 https://github.com/nodejs/node-gyp/search?q=CLT&type=Issues

Python 2 does not make a distinction between bytes and str but Python 3 does. When we make calls to subprocess.Popen() on Python 3 we should stdout.decode("utf8") before performing string manipulations on it.

This modification also allows Accept Python 3 by default #1844 to pass all Travis CI tests.

Copy link
Contributor

@sam-github sam-github left a comment

Choose a reason for hiding this comment

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

Looks pretty reasonable to me.

rvagg pushed a commit that referenced this pull request Sep 26, 2019
PR-URL: #1890
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
@rvagg
Copy link
Member

rvagg commented Sep 26, 2019

landed in d90d9c5

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.

Could not get CLTVersion

5 participants