GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Finish decode stdout on Python 3 by cclauss · Pull Request #1937 · nodejs/node-gyp

Conversation

@cclauss

@cclauss cclauss commented Oct 24, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes: #1943

Like #1890 and #1894 but for all remaining instances of popen.communicate() in this repo. This conditionally decodes the bytes that come from popen.communicate() into str for proper handling in Python 3.

grep -r communicate . and ensure all stdout and stderr instances are decoded on Python 3.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cclauss
Finish decode stdout on Python 3
a7138c3
@cclauss
cclauss requested review from rvagg and sam-github October 24, 2019 11:42
This was referenced Oct 24, 2019
Release proposal: [email protected] #1935
Closed
Bug fix/fix error handling #1925
Closed
sam-github
sam-github approved these changes Oct 24, 2019
View reviewed changes

@sam-github sam-github left a comment

Copy link
Copy Markdown
Contributor

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.

RSLGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cclauss
cclauss requested review from bnoordhuis and richardlau October 25, 2019 11:01
richardlau
richardlau approved these changes Oct 25, 2019
View reviewed changes
@cclauss cclauss added the Python label Oct 25, 2019
@cclauss
cclauss requested a review from gengjiawen October 27, 2019 09:28
@cclauss cclauss mentioned this pull request Oct 27, 2019
node-gyp configure fails #1943
Closed
gengjiawen
gengjiawen approved these changes Oct 27, 2019
View reviewed changes
@gengjiawen
gengjiawen merged commit a48f09b into nodejs:master Oct 27, 2019
@cclauss
cclauss deleted the even-more-stdout.decode branch October 27, 2019 09:41
@cclauss cclauss mentioned this pull request Oct 27, 2019
tools: fix Python 3 syntax error in mac_tool.py nodejs/node#30146
Closed
4 tasks
@rvagg rvagg mentioned this pull request Oct 27, 2019
Fix TypeError in XcodeVersion() #1939
Merged
4 tasks
rvagg pushed a commit that referenced this pull request Oct 27, 2019
@cclauss @rvagg
gyp: finish decode stdout on Python 3
bb2eb72
PR-URL: #1937
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
cclauss added a commit to dothebart/node-gyp that referenced this pull request Oct 30, 2019
@cclauss
Revert stderr.decode("utf-8") that was landed in nodejs#1937
cea42a4
nodejs#1937
chrmoritz added a commit to chrmoritz/node that referenced this pull request Nov 5, 2019
@chrmoritz @cclauss
tools: port Python 3 compat patch a48f09b from node-gyp to gyp
b1bbc13
original commit: nodejs/node-gyp@a48f09b
Refs: nodejs/node-gyp#1937
Co-Authored-By: Christian Clauss <[email protected]>
rvagg pushed a commit that referenced this pull request Nov 18, 2019
@cclauss @rvagg
gyp: finish decode stdout on Python 3
9f4f0fa
PR-URL: #1937
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
@rvagg rvagg mentioned this pull request Nov 18, 2019
Release proposal: [email protected] #1972
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gengjiawen gengjiawen gengjiawen approved these changes
@richardlau richardlau richardlau approved these changes
@rvagg rvagg Awaiting requested review from rvagg
@bnoordhuis bnoordhuis Awaiting requested review from bnoordhuis
+1 more reviewer
@sam-github sam-github sam-github approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Python

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

node-gyp configure fails

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@cclauss @sam-github @gengjiawen @richardlau
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.