Skip to content

Conversation

@dignissimus
Copy link
Contributor

Adds a redirect_stdin context manager for redirecting sys.stdin to another stream.

Resolves #92178

TODO

  • Add more tests that specifically test the input capabilities of redirect_stdin

@rhettinger rhettinger closed this May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add contextlib.redirect_stdin context manager

3 participants