Eric V. Smith <e...@trueblade.com> added the comment:
I've been thinking about this some more, and I agree with Terry. Changing str() seems dangerous, and __fspath__ wouldn't be backwardly compatible. If you want the name, use .name. So I'm going to close this. ---------- resolution: -> rejected stage: -> resolved status: open -> closed type: -> enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43039> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com