Skip to content
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

Shim subprocess.DEVNULL for Python 2 #17103

Merged
merged 1 commit into from May 31, 2017

Conversation

@aneeshusa
Copy link
Member

aneeshusa commented May 30, 2017

This was introduced in Python 3.3, so provide our own version.

Requires careful review since this will leak secrets (!!!) if not done properly.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes help with #17045 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because must be tested manually

This change is Reviewable

This was introduced in Python 3.3, so provide our own version.
@highfive
Copy link

highfive commented May 30, 2017

Heads up! This PR modifies the following files:

@larsbergstrom
Copy link
Contributor

larsbergstrom commented May 31, 2017

@bors-servo
Copy link
Contributor

bors-servo commented May 31, 2017

📌 Commit 3cf15cc has been approved by larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented May 31, 2017

Testing commit 3cf15cc with merge 71a4dae...

bors-servo added a commit that referenced this pull request May 31, 2017
…trom

Shim subprocess.DEVNULL for Python 2

This was introduced in Python 3.3, so provide our own version.

Requires careful review since this will leak secrets (!!!) if not done properly.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes help with #17045 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because must be tested manually

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17103)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 31, 2017

@bors-servo bors-servo merged commit 3cf15cc into servo:master May 31, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.