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

Make redirect_std{out,err} yield new stream as context var #4285

Merged

Conversation

PeterJCLaw
Copy link
Contributor

This matches the implementation, even though this behaviour isn't actually documented yet. (https://bugs.python.org/issue41147 aims to fix the documentation issue though.)

Fixes #4283.

This matches the implementation, even though this behaviour isn't
actually documented yet. https://bugs.python.org/issue41147 aims
to fix the documentation issue though.

Fixes python#4283.
@JelleZijlstra JelleZijlstra merged commit ed04d33 into python:master Jun 28, 2020
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.

contextlib.redirect_std{out,err} stubs don't yield the new target
2 participants