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

Add dummy flush method for clean interpreter exit with python3.6 #343

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

sveitser
Copy link
Contributor

This fixes #342 for me.

Copy link
Contributor

@kwlzn kwlzn left a comment

Choose a reason for hiding this comment

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

lgtm!

@kwlzn kwlzn merged commit 06e588f into pex-tool:master Jan 17, 2017
@kwlzn
Copy link
Contributor

kwlzn commented Jan 17, 2017

thanks for the PR @sveitser

@kwlzn kwlzn mentioned this pull request Jan 17, 2017
facebook-github-bot pushed a commit to facebook/buck that referenced this pull request Sep 13, 2017
Summary:
This is basically just an import of pex-tool/pex#343

Context - python3.6 started returning an exit code of 120 when the interpreter doesn't shut down correctly. The root cause of the failure is inside the pex code, but Buck interprets that exit code as a failure.

Test Plan: `buck test` on an empty python test using python3.6 - confirm it doesn't fail.

Reviewed By: ttsugriy

fbshipit-source-id: 3a46b4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exit code 120 with python3.6
2 participants