pathlib-abc icon indicating copy to clipboard operation
pathlib-abc copied to clipboard

Figure out if `__str__()` should be abstract

Open barneygale opened this issue 7 months ago • 0 comments

Should JoinablePath.__str__() be an abstract method (status quo), or should it provide a default implementation that returns self.parser.join(*self.segments), where JoinablePath.segments is a new abstract property?

Upstream issue: https://github.com/python/cpython/issues/131916

barneygale avatar Apr 28 '25 18:04 barneygale