[issue39840] FileNotFoundError et al show b-prefix on filepaths if passed as bytes

Eric V. Smith report at bugs.python.org
Tue Mar 3 16:41:30 EST 2020


Eric V. Smith <eric at trueblade.com> added the comment:

That behavior is consistent with other exceptions. It's a helpful piece of information if you were to see it in a traceback, without any other context. So this is by design.

----------
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39840>
_______________________________________


More information about the Python-bugs-list mailing list