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

Show stderr with uniout? #1

Closed
carlcarl opened this issue Jul 29, 2013 · 8 comments
Closed

Show stderr with uniout? #1

carlcarl opened this issue Jul 29, 2013 · 8 comments
Labels

Comments

@carlcarl
Copy link

I can set sys.stderr to uniout, ex:

sys.stderr = uniout.uniout

But this will mix stdout and stderr.
Any other recommended way?
Thanks.

@moskytw
Copy link
Owner

moskytw commented Aug 1, 2013

There is not better way for now.

But it is a good advice, I will take time to add this feature. :)

@carlcarl
Copy link
Author

carlcarl commented Aug 1, 2013

OK, thanks.

@carlcarl carlcarl closed this as completed Aug 1, 2013
@moskytw
Copy link
Owner

moskytw commented Aug 1, 2013

It is OK to keep it opening. I will close it after I solve this issue. :)

@moskytw moskytw reopened this Aug 1, 2013
@carlcarl
Copy link
Author

carlcarl commented Aug 1, 2013

OK~~

@bendwarn
Copy link

bendwarn commented Oct 4, 2013

It seems to need another object and dress it using stderr like uniout, that is to say unierr.

@moskytw
Copy link
Owner

moskytw commented Oct 4, 2013

Yup, you are right. I am planing to write a class to abstract the behaviors of uniout, and then make two instances for stdout and stderr.

@moskytw
Copy link
Owner

moskytw commented Oct 5, 2013

@timtan did it for us. Thanks his pull request #4.

@moskytw moskytw closed this as completed Oct 5, 2013
@carlcarl
Copy link
Author

carlcarl commented Oct 6, 2013

Good~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants