[issue42052] pathlib.Path should not call str() internally to allow inheritance
conchylicultor
report at bugs.python.org
Fri Oct 16 09:47:15 EDT 2020
conchylicultor <etiennefg.pot at gmail.com> added the comment:
Closing this as I realize that even if this was solved, it would still not fully resolve the issue. Basically I want to control how __fspath__ and __str__ behave externally (for users), but internal fspath and str should always call `super()`
----------
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42052>
_______________________________________
More information about the Python-bugs-list
mailing list