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

Provide a way to capture or wrap streams #50

Merged
merged 15 commits into from Dec 10, 2018
Merged

Provide a way to capture or wrap streams #50

merged 15 commits into from Dec 10, 2018

Conversation

techalchemy
Copy link
Member

Signed-off-by: Dan Ryan dan@danryan.co

- Also fix a bug with error reporting during `_create_subprocess`
  failures
- Adds a stream wrapper using `TextIOWrapper` via
  `vistir.misc.StreamWrapper`
- Adds `vistir.misc.get_wrapped_stream()` function to wrap existing
  streams
- Adds `vistir.contextmanagers.replaced_stream()` to temporarily replace
  a stream
- Fixes #49
- Closes #48

Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
- Added more entries to `six.moves` from `collections.abc`
- Fixes #51
- Fixes #52

Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 9, 2018
Signed-off-by: Dan Ryan <dan@danryan.co>

Add some extra compat utils

Signed-off-by: Dan Ryan <dan@danryan.co>

Add setup.cfg changes

Signed-off-by: Dan Ryan <dan@danryan.co>

uh, and init...

Signed-off-by: Dan Ryan <dan@danryan.co>

add fixture

Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
@sarugaku sarugaku deleted a comment Dec 10, 2018
@techalchemy techalchemy merged commit 6ddc3ec into master Dec 10, 2018
@techalchemy techalchemy deleted the feature/48 branch December 10, 2018 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant