Skip to content

TypeError with ClickException on Python 3 #862

@blueyed

Description

@blueyed
from click.exceptions import UsageError
exc = UsageError('foo')
print(exc)

TypeError: __str__ returned non-string (type bytes)

This seems to be there since a while already: 8c6c150

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions