```python 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: https://github.com/pallets/click/commit/8c6c150