Skip to content

stream's StandardErrorHandler shouldn't be a property #106

Description

@RobinFrcd

Hello,
Since Python 3.7 streams can be managed with StreamHandler.setStream.

Somewhere in my code, I'm setting a stream which raises the following error:

  File "/Users/rfourcade/.pyenv/versions/3.7.9/lib/python3.7/logging/__init__.py", line 1050, in setStream
    self.stream = stream
AttributeError: can't set attribute

Would it be possible to remove this property and just make the sys.stderr the default stream value ?

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions