Skip to content

Conversation

@Flamefire
Copy link

_DuplicateWriter wraps sys.stdout and applications might expect the encoding being set to a "real" value to determine the encoding to use.

However _DuplicateWriter never sets it so the property defaults to None. As that class is basically a wrapper around its first stream it should forward the encoding

`_DuplicateWriter` wraps `sys.stdout` and applications might expect the encoding being set to a "real" value to determine the encoding to use. However `_DuplicateWriter` never sets it so the property defaults to `None`. As that class is basically a wrapper around its `first` stream it should forward the encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant