Skip to content

bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ #6037

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

Merged
merged 1 commit into from
Mar 9, 2018

Conversation

n8henrie
Copy link

@n8henrie n8henrie commented Mar 9, 2018

test_asyncio hangs indefinitely on macOS 10.13.2+ on read_pty_output()
using the KqueueSelector. Closing proto.transport (as is done in
write_pty_output()) seems to fix it.

https://bugs.python.org/issue32517

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
@miss-islington
Copy link
Contributor

Thanks @n8henrie for the PR, and @1st1 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 9, 2018
…GH-6037)

test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
(cherry picked from commit 12f74d8)

Co-authored-by: Nathan Henrie <[email protected]>
@bedevere-bot
Copy link

GH-6038 is a backport of this pull request to the 3.7 branch.

@miss-islington
Copy link
Contributor

Sorry, @n8henrie and @1st1, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 12f74d8608c15cacd9d5786524e2be9ca36f007e 3.6

miss-islington added a commit that referenced this pull request Mar 9, 2018
test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
(cherry picked from commit 12f74d8)

Co-authored-by: Nathan Henrie <[email protected]>
ned-deily pushed a commit to ned-deily/cpython that referenced this pull request Mar 14, 2018
…GH-6037)

test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
(cherry picked from commit 12f74d8)

Co-authored-by: Nathan Henrie <[email protected]>

Also, re-enable test_read_pty_output on macOS.
ned-deily added a commit that referenced this pull request Mar 27, 2018
… (GH-6113)

test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
(cherry picked from commit 12f74d8)

Co-authored-by: Nathan Henrie <[email protected]>

Also, re-enable test_read_pty_output on macOS.
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.

6 participants